XSLT unparsed-entity-uri() Function
Definition and Usage
The unparsed-entity-uri() function returns the URI of the unparsed entity. The entity name must match the parameter passed. If the entity is defined, it returns the string of the URI of the unparsed entity. Otherwise, it returns an empty string.
If the DTD contains the following statement:
<!ENTITY pic SYSTEM "http://www.codew3c.com/picture.jpg" NDATA JPEG>
This expression:
unparsed-entity-uri('pic')
It will return the URI of the file "picture.jpg".
Syntax
string unparsed-entity-uri(string)
Parameters
Parameters | Description |
---|---|
string | Required. Specifies the name of the unparsed entity. The entity must be defined in the same document as the context node. |