当前位置:K88软件开发文章中心编程语言XmlXSLT01 → 文章内容

XSLT system-property() 函数

减小字体 增大字体 作者:佚名  来源:网上搜集  发布时间:2019-1-26 18:47:01

由 gelin678 创建,Carrie 最后一次修改 2015-09-05 XSLT system-property() 函数XSLT system-property() 函数返回指定名称的系统属性。 完整的 XSLT 函数参考对象 定义和用法 system-property() 函数返回通过名称标识的系统属性的值。 在 XSLT 命名空间中的系统属性: xsl:version - 处理器实现的 XSLT 版本 xsl:vendor - XSLT 处理器的开发商 xsl:vendor-url - 标识 XSLT 处理器的开发商的 URL 语法 object system-property(string) 参数 参数 描述 string 必需。规定返回其值的系统属性。 实例 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> 版本: <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> 完整的 XSLT 函数参考对象

XSLT system-property() 函数