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