This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
limitations of xsl:comment
- From: Ben Leighton <Ben dot Leighton at wizardis dot com dot au>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 13 May 2002 11:04:37 +1000
- Subject: [xsl] limitations of xsl:comment
- Organization: Wizard Information Services
- Reply-to: xsl-list at lists dot mulberrytech dot com
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