Friday, January 3, 2020

XML files


How to comment  in .XML files ?

Use Notepad ++ to make changes:

You can do a single  line of comment or  you can comment  text  between the markers:


Option 1: Text  between  <!--   and  -->  will be considered  as a  comment:
<!--Commenting out text                                                                                                                          
          <Test xmlns="domain:Comment">                                                                                                
          </Test>                                                                                                                                            
-->                                                                                                                                                             

Option  2: Insert a single line  of comment in the .XML file:
 <!--This is a comment-->

No comments:

Post a Comment