当前位置: 首页 > 网络学院 > XML相关教程 > XSL/XSLT > XSLT unparsed-entity-uri() 函数

XSL/XSLT
XSL 语言
XSLT 介绍
XSLT 浏览器
XSLT 转换
<xsl:template>
<xsl:value-of>
<xsl:for-each>
<xsl:sort>
<xsl:if>
<xsl:choose>
<xsl:apply-templates>
XSLT - 客户端
XSLT - 服务器端
XSLT - 编辑XML
XSLT 摘要
XSLT 元素参考
XSLT 函数
XSL 编辑器

XSL/XSLT 中的 XSLT unparsed-entity-uri() 函数


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 203 ::
收藏到网摘: n/a

Definition and Usage
定义和用法

The unparsed-entity-uri() function returns the URI of an unparsed entity. The name of the entity must match the passed argument. If there is no such entity an empty string is returned.
unparsed-entity-uri() 函数的作用是:返回未解析实体的URI。实体名称必须与被传递的自变量相匹配。如果不存在该实体,那么将返回一个空字符串。

If the DTD contains the following declaration:
<!ENTITY pic SYSTEM "http://www.w3schools.com/picture.jpg" NDATA JPEG>
the following expression:
unparsed-entity-uri('pic')
will return the URI for the file "picture.jpg".

如果DTD包含了下列声明:
<!ENTITY pic SYSTEM "http://www.w3schools.com/picture.jpg" NDATA JPEG>,
那么下面的表达式:
unparsed-entity-uri('pic')
将返回"picture.jpg"文件的URI。


Syntax
语法

string unparsed-entity-uri(string)

Parameters
参数

参数 描述
string Required. Specifies the name of an unparsed entity
必要参数。指定为解析实体的名称

评论 (0) All

登陆 | 还没注册?