RE: [xsl] pass comments into two XSLT's

Subject: RE: [xsl] pass comments into two XSLT's
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 28 Nov 2003 23:24:04 -0000
> 
> first XSLT
> ....
> <xsl:element name="<!--">
>     <xsl:text> any text comment </xsl:text>
> </xsl:element>
> ....

The imagination of subscribers to this list knows no bounds.

  <!-- thing -->

is not an element named "<!--", it is a comment. So you don't create it
by writing

  <xsl:element name="<!--">

you create it by writing

  <xsl:comment>

Michael Kay


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


Current Thread