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/

Saxon availability

Requires Saxon-PE or Saxon-EE. Available for Java and C/C++ only (not .NET).

Notes on the Saxon implementation

Available since Saxon 9.1. Not available in SaxonCS.

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()