Name

system-property()

Returns the value of the system property named by the argument to the function.

Syntax

[1.0] object system-property(string)
[2.0] xs:string system-property(xs:string)

Inputs

The three properties defined by the XSLT 1.0 specification must be supported by all XSLT 1.0 processors; XSLT 2.0 processors must support the five additional properties defined in the XSLT 2.0 spec. Other properties may be supported by individual processors, although vendors are not allowed to add more properties in the xsl: namespace.

All XSLT processors must support three system properties:

xsl:version

A floating-point number representing the version of XSLT implemented by this XSLT processor. This property is equivalent to the numeric value 1.0, although some XSLT processors (Xalan, for example) return the value 1. XSLT 2.0 processors must report the version as a floating-point number such as 2.0.

xsl:vendor

A string identifying the vendor of this XSLT processor.

xsl:vendor-url

A string containing the URL identifying the vendor of the XSLT processor. This string is typically the home page of the vendor’s web site.

[2.0] The XSLT 2.0 specification defines five additional properties that must be supported by all XSLT 2.0 processors:

xsl:product-name

The vendor’s name for the processor. The XSLT 2.0 specification recommends that this name remain constant from one release of the product to the next, although this is not a requirement.

xsl:product-version

The vendor-defined version of the processor. The ...

Get XSLT, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.