Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

XML.ApplyStylesheet

Apply the stylesheet to the document.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
XML 8.4 Yes Yes Yes Yes Yes

MBS( "XML.ApplyStylesheet"; XML; StyleSheet { ; Parameters } )

Parameters

Parameter Description Example value
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 Optional
The list of parameters to pass to the engine.
Pass a list with key=value format.
"id=123¶test=2"

Result

Returns text or error.

Description

Apply the stylesheet to the document.
Performs a XSLT transformation on the input document.
The output may be a non-wellformed output XML wise!

Returns various errors if XML is not well formed or style sheet is invalid.

See also

Created 22nd August 2018, last changed 23th August 2018


XL.Sheet.Type   -   XML.Canonical

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos