Modules | Implementer Page: sys.html EXSLT - System provides features for using the host system. This module defines an additional namespace,
Use this namespace as follows. Given The result of a call to system-property("env:X") MUST always return
the same value (for a given X) throughout the processing session. Which
environment variables are available to a given XSLT transformation is
system- and implementation-dependent, and an implementation SHOULD
document any special steps it takes when exposing environment variables.
Whenever an implementation cannot provide a value for a given
environment variable, it MUST return the zero-length string as the
result of the Note: Retrieving environment variables can pose a security risk if those environment variables expose sensitive system information. XSLT processors may support any number of the extension elements and functions given in this module. Using EXSLT will only make your stylesheet portable amongst the implementations that support EXSLT. Note that there is no requirement for XSLT processors that are compliant to XSLT to support the extensions described within EXSLT. NamespaceThe namespace for EXSLT - System is: http://exslt.org/system
Throughout this document, the prefix To use these extensions, you need to declare this namespace as an extension namespace in your stylesheet. If your processor supports this module, then that's all you need to do, but if it doesn't, then you need to use a specific third-party implementation or the module stylesheet. Typically, your stylesheet will look like: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sys="http://exslt.org/system" extension-element-prefixes="sys"> <xsl:import href="sys.xsl" /> ... </xsl:stylesheet> |
http://www.exslt.org/sys/index.html last modified 2006-02-15