XSLT unparsed-entity-uri()Function
Complete XSLT Function Reference
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, the URI string of the unparsed entity is returned. Otherwise, an empty string is returned.
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
string unparsed-entity-uri(string)
Parameters
| Parameter | Description |
|---|---|
| string | Required. Specifies the name of the unparsed entity. |
Complete XSLT Function Reference Other Extensions