[xsl] limitations of xsl:comment

Subject: [xsl] limitations of xsl:comment
From: Ben Leighton <Ben.Leighton@xxxxxxxxxxxxxxx>
Date: Mon, 13 May 2002 11:04:37 +1000

Im confused as to why <xsl:comment> only allows content that generates
text nodes ie. it excludes content that generates elements / attributes

My XML editors allow (ie well formed) XML like:

<!-- <Tag> </Tag> -->

Can someone indicate why this is the case and whether its O.K for me to
force creation of <!-- and --> around xml using something like

:) Ben

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread