Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is it possible to generate HTML 5 page from XML data?

I have data coming from a server in pure XML format, but I want to render the output as a rich HTML 5 page for the user. I got to use only client side scripting for this purpose (that too just Javascript).

So, is it possible to generate HTML-5 page using XML data?

Thank you.

like image 575
KillBill Avatar asked Dec 15 '25 10:12

KillBill


2 Answers

You could use XSLT to transform the xml. That's exactly that its for and all major browsers support them, including IE6.

Otherwise, you could have a bare HTML with just a <head> and a <body> with jQuery and some JS wizardry.

like image 142
Adrian Gonzales Avatar answered Dec 16 '25 23:12

Adrian Gonzales


Look over here. http://www.devarticles.com/c/a/JavaScript/JavaScript-and-XML/

like image 40
j7nn7k Avatar answered Dec 17 '25 01:12

j7nn7k



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!