O'Reilly logo

XSLT, 2nd Edition by Doug Tidwell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required