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 all platforms.
Notes on the Saxon implementation
Available since Saxon 9.1. With SaxonCS, available since Saxon 13.0,
but works only on documents that wrap a DOM XmlDocument tree.
The XmlDocument implementation used in SaxonCS does not follow the rule that when two entity
declarations have the same name, only the first is retained; instead, it appears to retain neither.
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.