What is use of xsl:comment element in XSLT

In this article,we are going to explain what is xsl:comment element.
  • 1763

The <xsl:comment> element is used generates a comment in anywhere within template.It indicates text that is to be output to the current output stream in the form of an XML or HTML comment.It is support to IE 5.0 and FF 1.0.

Syntax of xsl:comment element

<xsl:comment>

  <!--TEMPLET-->

  <xsl:comment>
  • It have no attribute.

Example of xsl:comment element
 

<xsl:comment>

  Write some comment here!

</xsl:commen

Further Readings

You may also want to read these related articles :

Ask Your Question 

Ask Your Question Got a programming related question? You may want to post your question here 

Programming Answers here

© 2019 DotNetHeaven. All rights reserved.