XML CommentsXML comments are just like HTML comments. We know that the comments are used to make codes more understandable other developers. XML Comments add notes or lines for understanding the purpose of an XML code. Although XML is known as self-describing data but sometimes XML comments are necessary. SyntaxAn XML comment should be written as: You cannot nest one XML comment inside the another.XML Comments ExampleLet's take an example to show the use of comment in an XML example: Test it NowRules for adding XML comments
Next TopicXML Tree |