Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XML.ToHTML

Converts XML to HTML.

Component Version macOS Windows Linux Server iOS SDK
XML 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XML.ToHTML"; xml { ; Flags; CSS Style } )   More

Parameters

Parameter Description Example Flags
xml The XML you'd like to convert.
Can be XML as text or the reference returned by XML.Parse function, so you can make several times queries to the XML without parsing it each time.
"<hello>Hello World</hello>"
Flags The flags for processing.
Currently you can pass 1 to exclude html header and just get a HTML table.
0 Optional
CSS Style Extra CSS / HTML to include. Optional

Result

Returns OK or error.

Description

Converts XML to HTML.
We build for you a HTML with tables for each array and object. We include values and tag rows with even/odd CSS classes.

See also XML.ToJSON function to convert to JSON.

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 11st December 2023, last changed 17th December 2023


XML.SubTree - XML.ToJSON

💬 Ask a question or report a problem