How do you write comments in XML?

XML comments are written the same way as HTML comments. i.e.

< !--this is a comment-- >.

The XML processor is not required to pass this information on to the user agent, i.e. the piece of software that is converting the document into some thing useful, but XML also uses CDATA sections which is used to escape blocks of text containing mark up.
Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*