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.
Examples
Convert XML to HTML:
Let([
html = MBS("XML.ToHTML"; XML to HTML::XML Input; 0; XML to HTML::CSS);
// now use XML colorization to color HTML:
html = MBS("XML.Colorize"; html; XML to HTML::Dark Mode)
]; html)
See also
Release notes
- Version 14.0
- Added XML.ToHTML function.
Example Databases
Blog Entries
- Neues MBS Plugin 14.0 für Claris FileMaker
- MBS FileMaker Plugin 14.0 for Claris FileMaker
- MBS FileMaker Plugin, version 13.6pr3
This function checks for a license.
Created 11st December 2023, last changed 11st May 2024