How we write the comments in the XML file?

How we write the comments in the XML file?

 XML also give us facility to make comments.

Syntax:

<!------Write Comment Here------>

Example:

<message to=\"friendname@friendaddress.com\" from=\"myname@myaddress.com\" 

    subject=\"Welcome note\">

  <!--Don\'t miss it -->

  <text>

    Hi,Enjoy them with the members of R4R.

  </text>

</message>  


By:Vivek
Date:2015-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related XML Subjective Links

XML Subjective interview questions and answers for experienced and fresher