Skip to main content

Posts

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>techieshah.com</name> <url>http://techieshah.com</url> </website> Solution Replace less than sign i.e. <   with  &lt; Replace greater than sign i.e. > with  &gt;