how to add comment in xml
i want to coment certain element in xml using c# as below,pls help me as iam new to c# coding
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Dec 12, 2012, 7:04 AM
The following LINQ to XML code should achieve that:
pramod e ebenezerPosted Dec 12, 2012, 1:41 AM
nallyaPosted Dec 12, 2012, 1:37 AM
Comments in XML
The syntax for writing comments in XML is similar to that of HTML.
http://www.tizag.com/xmlTutorial/xmlcomment.php