xsl:comment

Adds a comment node to the result tree.

Format

<xsl:comment>
               
  comment_text
               
</xsl:comment>
               

            

Description

The XSLT processor instantiates the contents of the instruction to generate the text of the new comment.

The XSLT processor reports an error if instantiating the contents of the xsl:comment instruction creates anything other than characters, or if the resulting string contains the substring "--" or ends with "-".

Example

The following instruction creates a comment in the result document:

<xsl:comment>Unique Irish band</xsl:comment>
               

            

The comment is

<!--Unique Irish band-->
               

            

Stylus Studio Enables Multi-Channel Publishing for University of Pittsburg Professor

Learn how Dr. David Birnbaum of the University of Pittsburgh uses Stylus Studio to develop customized XSLT stylesheets that produce enhanced versions of source documents in different output formats, including Web and print.

XML Code Folding

Stylus Studio's XML Editor features XML code folding, a powerful and intuitive way to maximize limited screen real-estate and help make sense of large XML files.

Banks That Bank on Stylus Studio for Enhanced XML Productivity

Guess what! You can pass go and collect 200 dollars because with Stylus Studio 2006 you can save your banking company time and labor in every day work activities. Come see which banking companies are already taking advantage of Stylus Studio today!

XML Reports

Build beautiful XML reports from Relational, XML and Legacy Data. You XML report can be rendered in PDF or HTML using XSLT, XQuery or XSL:FO.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member