Skip to main content


class HS.Util.Transformer extends EnsLib.XSLT.Common

Deprecated - please use HS.Util.XSLTTransformer instead We won't remove this, because it is in extensive use It's OK to use for files, but not for style sheets in XDATA blocks. Utility class for XSLT transformations

Method Inventory


classmethod LoadAndTransform(pStreamInput As %Stream.TmpCharacter, Output pOutputStream As %Stream.TmpCharacter, Output pTransformer As HS.Util.Transformer, pDirectory As %String, pSpec As %String, pFile As %String = "", ByRef pParameters) as %Status
method LoadDirectory(pDirectory As %String = "", pFilespec As %String = "") as %Status
Additional directories to be loaded after the OnInit
classmethod LoadURL(pURL As %String, ByRef pTransformer As HS.Util.Transformer) as %Status
when using a URL could be file:///usr/bin/somefile.xsl or even http://... In OnInit... Do ##class(HS.Util.Transformer).LoadURL(pURL,.tTransformer) when you want to transform Do tTransformer.Transform(pInput,pURL,.pParameters,.tOutput) XDATA is not supported.
method LoadURLInstance(pURL As %String) as %Status
Called by the LoadURL method, the instance method allows calling some inherited private methods
method OnInit() as %Status
Inherited description: This user callback method is called just after %OnNew()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab