I have given you a example which show how to convert an XML document into HTML.Example:Here,I have given you simple XML example:bookshop.xml
The Complete Reference
Programming in ANSI C++
When you want that example in HTML you should write that.
For converting XML into HTML we use this.1.First you have to check the browser and load the XML using the correct parser2.now,we have created a HTML table with
3.we use getElementsByTagName() to get all XML book nodes4.we display data from ARTIST and TITLE as table data for each book.5.Use
to end the table.