Skip to main content

%XML.XSLT3.CompiledStyleSheet

Class %XML.XSLT3.CompiledStyleSheet Extends %RegisteredObject

Implements an interface to the XSLT3 CompiledStyleSheet. %XML.XSLT3.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.XSLT3.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.XSLT3.CompiledStyleSheet from a file path name

CreateFromStream

ClassMethod CreateFromStream(stream As %Stream.Object, Output compiledStyleSheet As %XML.XSLT3.CompiledStyleSheet, errorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}, XSLBaseDir As %String = "") As %Status

Use this method to create an instance of an %XML.XSLT3.CompiledStyleSheet from a binary stream

ReleaseFromServer

ClassMethod ReleaseFromServer(compiledStyleSheet As %XML.XSLT3.CompiledStyleSheet, errorHandler As %XML.XSLT.ErrorHandler = {$$$NULLOREF}, gateway As %Net.Remote.Gateway = {$$$NULLOREF}) As %Status

%OnClose

Method %OnClose() As %Status [ Private, ProcedureBlock = 1 ]