This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Machine-readable comments (Was: How is this part of the XSLT specificationto be interpreted?)



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]