Skip to main content

XSLT unparsed-entity-uri() Function

XSLT unparsed-entity-uri() Function

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://www.example.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)

Input Parameters

ParameterRequired/OptionalDescription
stringRequiredSpecifies the name of an unparsed entity