xsl-list
[Top] [All Lists]

RE: pass comments into two XSLT's

2003-11-28 16:24:04

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



<Prev in Thread] Current Thread [Next in Thread>