XSLT system-property() Function
Complete XSLT Function Reference
Definition and Usage
The system-property() function returns the value of the system property
specified by the name.
System properties in the XSLT namespace:
- xsl:version - The version of XSLT implemented by the processor
- xsl:vendor - The vendor of the XSLT processor
- xsl:vendor-url - The URL identifying the vendor of the XSLT processor
Syntax
|
object system-property(string)
|
Parameters
| Parameter |
Description |
| string |
Required. Specifies the system property to return the value
of |
Example 1
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<p>
Version:
<xsl:value-of select="system-property('xsl:version')" />
<br />
Vendor:
<xsl:value-of select="system-property('xsl:vendor')" />
<br />
Vendor URL:
<xsl:value-of select="system-property('xsl:vendor-url')" />
</p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
|
View the XSL file and
View the result
Complete XSLT Function Reference

Whether you're new to XML or already an advanced user,
the user-friendly views and powerful entry helpers,
wizards, and debuggers in XMLSpy are designed to meet your XML
and Web development needs from start to finish.
New features in Version 2010!
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- XBRL validator, taxonomy editor, taxonomy wizard
- Support for Office Open XML (OOXML)
- Graphical WSDL 1.1/2.0 editor & SOAP debugger
- JSON editing & conversion
- Java, C#, C++ code generation
- And much more!
Download a free trial today!
|
|
|
|