Machine-readable comments (Was: How is this part of the XSLT
Mike Brown says: >Comments are not required to be reported by an XML parser, so you should >never depend on being able to process them with XSLT. Isn't that a little harsh? If I know what parser I'll be using, and I know that the stylesheets won't be going to a place where an unknown parser is used, why not have specially-structured comments? Recall that <xsl:template match="comment()" /> is valid in XSLT, so the Working Group must have thought that the above would work in many common parser/processor situations, and indeed it does. .................David Marston 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