다음을 통해 공유


system-property Function (Windows Embedded CE 6.0)

1/6/2010

Returns an object representing the value of the system property identified by the name.

Syntax

            object system-property(string)

Parameters

  • string
    A string that is a valid QName.

Return Value

Returns an object representing the value of the system property identified by the name.

Remarks

The argument must evaluate to a string that is a valid QName. The QName is expanded into a name using the name space declarations in scope for the expression. The system-property 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.

Because these properties are strings representing QNames, a prefix must correspond to a name space declaration in scope for "http://www.w3.org/1999/XSL/Transform" for the xsl:version, xsl:vendor, and xsl:vendor-url properties. A prefix corresponding to a name space declaration "urn:schemas-microsoft-com:xslt" must be in scope for the msxsl:version property.

System property Description

xsl:version

A number giving the version of XSL Transformations (XSLT) implemented by the processor; for XSLT processors implementing the version of XSLT specified by this document, the number 1.

xsl:vendor

Returns the string "Microsoft".

xsl:vendor-url

A string containing the URL "http://www.microsoft.com".

msxsl:version

A number giving the version of the Microsoft XML Parser (MSXML). 3 for this release.

Example

The following function call returns 1.

system-property('xsl:version')

See Also

Reference

XSLT Functions