Saxon.Api
Class XsltPackage
-
public class XsltPackage
An XsltPackage
object represents the result of compiling an XSLT 3.0 package, as
represented by an XML document containing an xsl:package
element.
Property Summary |
|
---|---|
string | PackageName
Get the name of the package (the URI appearing as the value of |
Processor | Processor
The Processor from which this |
string | Version Get the version number of the package (the value of the attribute
|
Method Summary |
|
---|---|
net.sf.saxon.style.StylesheetPackage | getUnderlyingPreparedPackage () Escape-hatch interface to the underlying implementation class. |
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 (Stream stream) Save this compiled package to filestore. |
Property Detail
PackageName
Get the name of the package (the URI appearing as the value of xsl:package/@name
)
Returns:
Processor
The Processor from which this XsltPackage
was constructed
Version
Get the version number of the package (the value of the attribute
xsl:package/@package-version
Returns:
Method Detail
getUnderlyingPreparedPackage
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:
XsltExecutable
Save
Save this compiled package to filestore.
Parameters:
stream
- the stream to which the compiled package should be saved
Escape-hatch interface to the underlying implementation class.
Returns:
StylesheetPackage
. The interface toStylesheetPackage
is not a stable part of the s9api API definition.