Saxon.Api

Class DocumentBuilder

Class DomDestination

Class DynamicContext

Class DynamicError

Class EmptyEnumerator

Class ExtensionFunctionCall

Class ExtensionFunctionDefinition

Class InvalidityHandlerWrapper

Class NamespaceConstant

Class NullDestination

Class Processor

Class QName

Class SchemaManager

Class SchemaValidator

Class Serializer

Class StandardLogger

Class StaticContext

Class StaticError

Class TextWriterDestination

Class WhitespacePolicy

Class XPathCompiler

Class XPathExecutable

Class XPathSelector

Class XQueryCompiler

Class XQueryEvaluator

Class XQueryExecutable

Class XdmAnyFunctionType

Class XdmAnyItemType

Class XdmAnyNodeType

Class XdmArray

Class XdmAtomicType

Class XdmAtomicValue

Class XdmDestination

  - Class TreeProtector

Class XdmEmptySequence

Class XdmExternalObjectValue

Class XdmFunctionItem

Class XdmItem

Class XdmItemType

Class XdmMap

Class XdmNode

Class XdmNodeKind

Class XdmSequenceType

Class XdmValue

Class XmlDestination

Class Xslt30Transformer

Class XsltCompiler

Class XsltExecutable

  - Class ParameterDetails

Class XsltPackage

Class XsltTransformer

Enum RecoveryPolicy

Enum SchemaValidationMode

Enum TreeModel

Enum XdmAxis

Interface IInvalidityHandler

Interface IMessageListener

Interface IQueryResolver

Interface IResultDocumentHandler

Interface IXdmEnumerator

Interface IXmlLocation

Interface SchemaResolver

 

Saxon.Api
Class XsltPackage


public class XsltPackage
implements object

An XsltPackage object represents the result of compiling an XSLT 3.0 package, as represented by an XML document containing an xsl:package element.

@since 9.6


Property Summary
 Processor Processor

Get the Processor from which this XsltCompiler was constructed

 String PackageName

Get the name of the package (the URI appearing as the value of xsl:package/@name)

 String Version

Get the version number of the package (the value of the attribute xsl:package/@package-version

 
Method Summary
 XsltExecutable Link()

Link this package with the packages it uses to form an executable stylesheet. This process fixes up any cross-package references to files, templates, and other components, and checks to ensure that all such references are consistent.

 void Save(System.IO.Stream stream)

Save this compiled package to filestore.

 net.sf.saxon.style.StylesheetPackage getUnderlyingPreparedPackage()

Escape-hatch interface to the underlying implementation class.

 
Property Detail

Processor

public Processor Processor {get; }

Get the Processor from which this XsltCompiler was constructed


PackageName

public String PackageName {get; }

Get the name of the package (the URI appearing as the value of xsl:package/@name)

Returns:
return the package name

Version

public String Version {get; }

Get the version number of the package (the value of the attribute xsl:package/@package-version

Returns:
the package version number

Method Detail

Link

public XsltExecutable Link()

Link this package with the packages it uses to form an executable stylesheet. This process fixes up any cross-package references to files, templates, and other components, and checks to ensure that all such references are consistent.

Returns:
the resulting XsltExecutable

Save

public void Save(System.IO.Stream stream)

Save this compiled package to filestore.

Parameters:
stream -
the stream to which the compiled package should be saved

getUnderlyingPreparedPackage

public net.sf.saxon.style.StylesheetPackage getUnderlyingPreparedPackage()

Escape-hatch interface to the underlying implementation class.

Returns:
the underlying StylesheetPackage. The interface to StylesheetPackage is not a stable part of the s9api API definition.