Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Apply the stylesheet to the document (XSLT transform).
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XML | 11.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
XML | The XML to process. Can be XML as text or the reference returned by XML.Parse function, so you can make several times changes to the XML without parsing it each time. |
"<test>Hello</test>" | |
StyleSheet | The XML of the style sheet. Can be XML as text or the reference returned by XML.Parse function, so you can make several times changes to the XML without parsing it each time. |
||
Key | The parameter key name. | "id" | Optional |
Value... | The parameter value. This may be quoted with single quotes. |
"'123'" | Optional |
Returns text or error.
Run XLST:
MBS("XML.ApplyStylesheet2" ; $InputXML ; $XSLTransform ; "id"; "'123'"; "name"; "'Bob'")
This function is free to use.
Created 2nd November 2021, last changed 2nd November 2021