Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #16695
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2012-10-17 13:19 -0700 |
| References | <1a067dc0-9d64-4b7c-ba61-736bf747bb78@googlegroups.com> |
| Message-ID | <b418fddf-4368-4eab-9129-6a5df7dd81b6@googlegroups.com> (permalink) |
| Subject | Re: Display XML content in HTML page |
| From | Danny <dann90038@gmail.com> |
Pervez, as Thomas Lahn suggested, get the file with XMLHttpRequest(), there's no need to parse it, XMLHttpRequest() have a .responseText property, which is just the text/plain content, which is the one folks use the most I guess, however, it also has a .responseXML property, which returns an XML tree off a properly structured .xml file, from there, just traverse it like you'd any other nodes tree.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Display XML content in HTML page Pervez Mulla <mullapervez@gmail.com> - 2012-10-17 05:23 -0700
Re: Display XML content in HTML page Jim T. <x@y.z> - 2012-10-17 09:11 -0400
Re: Display XML content in HTML page Jim T. <x@y.z> - 2012-10-17 09:20 -0400
Re: Display XML content in HTML page Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-10-17 10:24 -0700
Re: Display XML content in HTML page Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-17 20:05 +0200
Re: Display XML content in HTML page Jim T. <x@y.z> - 2012-10-17 21:31 -0400
Re: Display XML content in HTML page Pervez Mulla <mullapervez@gmail.com> - 2012-10-17 21:42 -0700
Re: Display XML content in HTML page Hans-Georg Michna <hans-georgNoEmailPlease@michna.com> - 2012-10-17 15:39 +0200
Re: Display XML content in HTML page Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2012-10-17 20:03 +0200
Re: Display XML content in HTML page Pervez Mulla <mullapervez@gmail.com> - 2012-10-17 21:38 -0700
Re: Display XML content in HTML page Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2012-10-18 07:41 +0200
Re: Display XML content in HTML page Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-29 12:09 +0100
Re: Display XML content in HTML page Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2012-11-09 23:03 +0100
Re: Display XML content in HTML page Danny <dann90038@gmail.com> - 2012-10-17 13:19 -0700
Re: Display XML content in HTML page Bart Van der Donck <bart@nijlen.com> - 2012-10-31 00:50 -0700
csiph-web