%XML.XSLT.CompiledStyleSheet
Class %XML.XSLT.CompiledStyleSheet Extends %RegisteredObject [ System = 3 ]
For details on using this class, see Performing XSLT Transformations.
Implements an interface to the XSLT CompiledStyleSheet. %XML.XSLT.CompiledStyleSheet should never be created directly with %New(), but via the CreateFromFile() or CreateFromStream() factory methods
Properties
ParsedSourceHandle
Property ParsedSourceHandle As %Integer;
This property holds a handle to the parsed source
Methods
CreateFromFile
ClassMethod CreateFromFile(pSource As %String, Output pCompiledStyleSheet As %XML.XSLT.CompiledStyleSheet, pErrorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}) As %Status
Use this method a create an instance of an %XML.XSLT.CompiledStyleSheet from a file path name.
CreateFromStream
ClassMethod CreateFromStream(pStream As %AbstractStream, Output pCompiledStyleSheet As %XML.XSLT.CompiledStyleSheet, pErrorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}) As %Status
Use this method to create an instance of an %XML.XSLT.CompiledStyleSheet from a binary stream
%OnNew
Method %OnNew(initvalue As %RawString) As %Status [ Private, ProcedureBlock = 1 ]
This callback method is invoked by the %New method to provide notification that a new instance of an object is being created. For this class, client code should NOT call this method directly via %New() but should use the 'CreateFromFile()' or 'CreateFromStream()' factory methods
%OnClose
Method %OnClose() As %Status [ Private, ProcedureBlock = 1 ]
ParsedSourceHandleGet
Method ParsedSourceHandleGet()
This accesses the parsed source handle which xalan uses to identify the previously parsed source document