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]
Other format: [Raw text]

limitations of xsl:comment


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


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