XSLT unparsed-entity-uri() Function
❮ XSLT Function ReferenceDefinition 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.
If the DTD contains the following declaration:
<!ENTITY pic SYSTEM "http://w3.p2hp.com/picture.jpg" NDATA JPEG>
the following expression:
unparsed-entity-uri('pic')
will return the URI for the file "picture.jpg".
Syntax
string unparsed-entity-uri(string)
Parameters
Parameter | Description |
---|---|
string | Required. Specifies the name of an unparsed entity |
❮ XSLT Function Reference