Obtaining the URI for an Unparsed Entity

To obtain the URI for an unparsed entity, call the unparsed-entity-uri() function. The format is

string unparsed-entity-uri(string) 
               

            

This function returns the URI of the unparsed entity with the specified name that is in the same document as the context node. If there is no such entity, this function returns an empty string.

 
Free Stylus Studio XML Training: