Subject: RE: Comments, and entities
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 21 Dec 1999 16:28:46 -0000
|
> Also, is there a way to determine if a document contains an
> entity reference?
>
No. By the time your stylesheet gets to see the document, any entity
references will have been expanded.
Except for unparsed entities, of course, but there the answer is also no:
you can get a specific unparsed entity using unparsed-entity-uri(), but only
if you already know its name.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|