Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
XSLT Reference
XSLT Functions
 system-property Function

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
system-property Function

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

object system-property(string)

The argument must evaluate to a string that is a valid QName. The QName is expanded into a name using the namespace 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 namespace 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 namespace 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 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 Microsoft XML Core Services (MSXML).

The following function call returns 1.

system-property('xsl:version')
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker