saxon:unparsed-entities

Returns a list of the names of the unparsed entities declared within a document.

unparsed-entities($doc as document-node()) ➔ xs:string*

Arguments

 

$doc

document-node()

The containing document

Result

xs:string*

Namespace

http://saxon.sf.net/

Notes on the Saxon implementation

Available since Saxon 9.1.

Details

This function returns a list of the names of the unparsed entities declared with the document node supplied as $doc. These names can then be used as arguments to the standard XSLT functions unparsed-entity-uri() and unparsed-entity-public-id() to determine the system and public identifiers of the unparsed entity.

See also:

fn:unparsed-entity-uri()

fn:unparsed-entity-public-id()