Appendix A. XProc Functions
XML Calabash supports the standard XProc extension functions:
p:document-properties,
p:document-property,
p:function-library-importable,
p:iteration-position,
p:iteration-size,
p:lookup-uri,
p:step-available,
p:system-property,
p:urify,
p:version-available, and
p:xpath-version-available.
Implementation specific details about selected functions follow.
A.1. System Properties
XML Calabash supports the following property name:
p:episodeReturns a string of the form
E-UUID. The string is unique for each pipeline.p:localeReturns the default JVM locale. Underscores in the JVM locale are replaced by hyphens for compatibility with XML language identifiers.
p:product-nameReturns “
XML Calabash”.p:product-versionReturns “
3.0.25”.p:vendorReturns “
Norm Tovey-Walsh”.p:vendor-uriReturns “
https://xmlcalabash.com/”.p:versionReturns “
3.0 3.1”.p:xpath-versionReturns “
3.1”.p:psvi-supportedReturns true if the processor was created using a Saxon configuration that supports schema validation.
XML Calabash also supports several additional properties:
cx:saxon-versionReturns the version of Saxon that XML Calabash is using.
cx:saxon-editionReturns the edition of Saxon that XML Calabash is using.
cx:product-buildReturns the product build identifier, for example “
cd076cff.19b.04093b”.
A.2. Function library importable
The p:function-library-importable function
reports whether or not function libraries of a particular type can be imported.
XML Calabash can import XSLT and XQuery function libraries. Importing function libraries requires Saxon EE.