%XML.XSLT2.CompiledStyleSheet
Class %XML.XSLT2.CompiledStyleSheet Extends %RegisteredObject
For details on using this class, see Performing XSLT Transformations.
Implements an interface to the XSLT2 CompiledStyleSheet. %XML.XSLT2.CompiledStyleSheet should never be created directly with %New(), but via the CreateFromFile() or CreateFromStream() factory methods
Properties
ReleaseOnClose
Property ReleaseOnClose As %Boolean [ InitialExpression = 1 ];
Methods
CreateFromFile
ClassMethod CreateFromFile(source As %String, Output compiledStyleSheet As %XML.XSLT2.CompiledStyleSheet, errorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status
Use this method a create an instance of an %XML.XSLT2.CompiledStyleSheet from a file path name
CreateFromStream
ClassMethod CreateFromStream(stream As %Stream.Object, Output compiledStyleSheet As %XML.XSLT2.CompiledStyleSheet, errorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status
Use this method to create an instance of an %XML.XSLT2.CompiledStyleSheet from a binary stream
ReleaseFromServer
ClassMethod ReleaseFromServer(compiledStyleSheet As %XML.XSLT2.CompiledStyleSheet, errorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status
%OnClose
Method %OnClose() As %Status [ Private, ProcedureBlock = 1 ]