Name

system-property( )

Synopsis

                     object system-property(string qualifiedPropertyName)

The system-property() function returns the value of the named property. The type of the returned object is processor- and property-dependent. If the processor does not recognize the property name, then it returns an empty string.

XSLT processors are required to recognize and return values for these three properties:

xsl:version

A number specifying the version of XSLT implemented by the processor; this is normally 1.0, but it may become 2.0 during this book’s life span.

xsl:vendor

A string identifying the XSLT processor’s vendor; for instance, Apache Software Foundation for Xalan or SAXON 6.5.3 from Michael Kay for SAXON.

xsl:vendor-url

A string containing a URL for the XSLT processor’s vendor; for instance, http://xml.apache.org/xalan for Xalan or http://saxon.sourceforge.net for SAXON.

Implementations may also recognize and return values for other processor-dependent properties.

Get XML in a Nutshell, 3rd 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.