Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XSLT unparsed-entity-uri() Function

XSLT unparsed-entity-uri() Function


XSLT Function Reference Object 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 argument 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:

This expression:

unparsed-entity-uri('pic')

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.

XSLT Function Reference Object Complete XSLT function reference