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:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Apply the stylesheet to the document (XSLT transform).
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XML | 8.4 | ✅ 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. |
||
Parameters | The list of parameters to pass to the engine. Pass a list with key=value format. |
"id=123¶test=2" | Optional |
Returns text or error.
Apply a stylesheet:
Set Variable [ $InputXML; Value:XSLT::InputXML ]
Set Variable [ $StyleSheet; Value:XSLT::StyleSheet ]
Set Variable [ $Output; Value:MBS("XML.ApplyStylesheet"; $InputXML; $StyleSheet) ]
Set Field [ XSLT::OutputXML; $Output ]
Created 22nd August 2018, last changed 23th August 2019
XL.Uninitialize - XML.Canonical
Feedback: Report problem or ask question.