Obtaining System Properties

In a query in a stylesheet, there are three system properties for which you can obtain information:

  • xsl:version returns 1.0 as the version of XSLT that the Stylus Studio XSLT processor implements.
  • xsl:vendor returns DataDirect as the vendor of Stylus Studio's XSLT processor.
  • xsl:vendor-url returns http://www.stylusstudio.com as the vendor URL.

To obtain this information, call the system-property() function. The format is

object system-property(string)
               

            

The string you specify must identify one of the three properties and must be a qualified name. This function returns an object that represents the value of the system property you specify.

 
Free Stylus Studio XML Training:
W3C Member