xsltLoadStylesheetFromFile

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
xsltLoadStylesheetFromFile pathToFile
Summary

The xsltLoadStylesheetFromFile function loads an xslt stylesheet into memory from a file 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 xsltLoadStylesheetFromFile(tFilePath) into tStylesheetID
put xsltApplyStylesheet(tXMLData, tStylesheetID) into tProcessedData
xsltFreeStylesheet tStylesheetID
RelatedFunction: revXMLEvaluateXpath, xsltApplyStylesheetFromFile, xsltLoadStylesheetFromFile, revXMLCreateTreeFromFile, revXMLCreateTree, xsltApplyStylesheet
Description

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

Tagsxml