xsltLoadStylesheet

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
xsltLoadStylesheet stylesheetXML
Summary

The xsltLoadStylesheet function loads an xslt stylesheet into memory from xml data so that it can be applied to xml data using the xsltApplyStylesheet function. It returns an xslt stylesheet id.

Introduced6.5
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
put xsltLoadStylesheet(field "fldXSLT") into tStylesheetID
put xsltApplyStylesheet(tXMLData, tStylesheetID) into tProcessedData
xsltFreeStylesheet tStylesheetID
RelatedFunction: revXMLEvaluateXpath, xsltApplyStylesheetFromFile, xsltLoadStylesheetFromFile, revXMLCreateTreeFromFile, revXMLCreateTree, xsltApplyStylesheet
Description

The xsltLoadStylesheet function loads an xslt stylesheet into memory from xml data so that it can be applied to xml data using the xsltApplyStylesheet function. It returns an xslt stylesheet id.

Tagsxml