[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
Hi,

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

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

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

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
<![CDATA[<!--]]>?

thanks,
:) Ben


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


Current Thread