Skip to main content


Showing posts with the label xml

How to print XML inside div on HTML page?

Problem If you try to print the following XML on the HTML page, it will not be visible <website> <name></name> <url></url> </website> Solution Replace less than sign i.e. <   with  &lt; Replace greater than sign i.e. > with  &gt;