XSLT unparsed-entity-uri () function
Definition and Usage
unparsed-entity-uri () function returns the URI entity unresolved. The entity name must match the parameters being passed. If you define the entity, the entity URI string is returned unanalyzed. Otherwise, it returns an empty string.
If the DTD contains the following statement:
<! ENTITY pic SYSTEM "http://www.w3cschool.cc/picture.jpg" NDATA JPEG>
This expression:
unparsed-entity-uri ( 'pic')
Returns the file "picture.jpg" the URI.
grammar
string unparsed-entity-uri(string)
parameter
参数 | 描述 |
---|---|
string | 必需。规定未解析的实体的名称。 |
Complete XSLT Function Reference objects