Name

system-property — Returns a value of the system property identified by the name

Synopsis

object system-property ( property_qname varchar );

Description

The function returns an object representing the value of the system property identified by the name. If there is no such system property, the empty string is returned.

Parameters

property_qname

a string that is a QName. The QName is expanded into a name using the namespace declarations in scope for the expression.

Return Types

String or double precision number.

Examples

Example24.627.xsl:version

xsl:version is a number giving the version of XSLT implemented by the processor; this version returns 1.0.

[xmlns:xsl='http://www.w3.org/1999/XSL/Transform'] system-property('xsl:version')

Example24.628.xsl:vendor

xsl:vendor is a string identifying the vendor of the XSLT processor; this version returns 'OpenLink Software'.

[xmlns:xsl='http://www.w3.org/1999/XSL/Transform'] system-property('xsl:vendor')

Example24.629.xsl:vendor-url

xsl:vendor-url is a string containing a URL identifying the vendor of the XSLT processor; this version returns 'http://www.openlinksw.com'.

[xmlns:xsl='http://www.w3.org/1999/XSL/Transform'] system-property('xsl:vendor-url')

Example24.630.xsl:product-name

xsl:product-name is a string containing a name of XSLT processor; this version returns 'OpenLink Virtuoso Server'.

[xmlns:xsl='http://www.w3.org/1999/XSL/Transform'] system-property('xsl:product-name')

Example24.631.xsl:product-version

xsl:product-version is a string containing a version of XSLT processor implementation; the returned string may depend on OS, hardware and other parameters of installation.

[xmlns:xsl='http://www.w3.org/1999/XSL/Transform'] system-property('xsl:product-version')