Loading TOC...

fn:unparsed-entity-public-id

fn:unparsed-entity-public-id(
   entity-name as xs:string
) as xs:string

Summary

Returns the public identifier of the unparsed entity specified by the $entity-name parameter. If no such entity exists or if the entity has no public identifier, this function returns the empty string. This function is only available in XSLT; it is not available in XQuery or JavaScript.

Parameters
entity-name The entity name.

Example

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.