Subject: Re: [xsl] Access to unparsed entities|
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Mon, 21 Oct 2002 22:58:08 +0100
The unparsed-entity-public-id returns the public identifier of the unparsed entity with the specified name in the document containing the context node
How are we supposed to get hold of the entity name?
distinct-values(//@*[. instance of attribute of type ENTITY or . instance of attribute of type ENTITIES])
(Really elegant syntax: we're hoping to improve it)
:-) Looks more and more like Omnimark every day. *thwap* Oops, did I say that?
Yes - this only gives you the unparsed entities that are actually referenced. Do you think you need to know about unreferenced unparsed entities as well? (This gets ridiculous...)