|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comments, and entities
> I've tried the following under XT (latest > version), but it produces no output... AN XML parser is at liberty to discard comments (that's why they are called comments) If the parser does discard them then they are gone before xsl gets a chance to match against them. If they are not discarded, the syntax you quoted should work. For xt you can tell it to use a non standard sax extension that keeps comments by using the following switch on your java call -Dcom.jclark.xsl.sax.parser=com.jclark.xml.sax.CommentDriver > Also, is there a way to determine if a document contains an > entity reference? They are expanded by the XML parser so they are not in the source tree that XSL sees, even if they were in the original file. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








