Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #16945

Re: Display XML content in HTML page

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Content-Type text/plain; charset="UTF-8"
Message-ID <5981195.9lX6m5HqsZ@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Organization PointedEars Software (PES)
Date Mon, 29 Oct 2012 12:09:52 +0100
User-Agent KNode/4.4.11
Content-Transfer-Encoding 8Bit
X-Face %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v
Face iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg==
Subject Re: Display XML content in HTML page
Newsgroups comp.lang.javascript
References <1a067dc0-9d64-4b7c-ba61-736bf747bb78@googlegroups.com> <k5mrtl$fqk$2@speranza.aioe.org> <a5bc3e3a-3e99-4036-82a4-46af06387736@googlegroups.com> <k5o4pt$7jn$1@speranza.aioe.org>
Followup-To comp.lang.javascript
MIME-Version 1.0
Lines 44
NNTP-Posting-Date 29 Oct 2012 12:09:52 CET
NNTP-Posting-Host fa9d60ea.newsspool2.arcor-online.net
X-Trace DXC=MMVGYhBdfA>kUFX=Y?aLP;A9EHlD;3Yc24Fo<]lROoR18kF<OcfhCO;RLRX_FVNK>>DZm8W4\YJN<J`:FmdeL>K0GO;FOAbOea=SSoG12X=G2?
X-Complaints-To usenet-abuse@arcor.de
Xref csiph.com comp.lang.javascript:16945

Followups directed to: comp.lang.javascript

Show key headers only | View raw


Cezary Tomczyk wrote:

> W dniu 2012-10-18 06:38, Pervez Mulla pisze:
>> Cezary Tomczyk wrote:
>> Yeah I can change that to get JSON data too in terms of key/value pair.
> 
> So, then you will not need an XML parser :-) Just get key/value from JSON.
> 
>> Please can u give me example which suits my requirement......?
> 
> Try to prepare some sample code on http://jsfiddle.net/, because I
> cannot understand your whole idea. Maybe I missed something.
> 
> As for XML just wanted to note that you can get XML as a string and then
> parse using build-it XML parser.

AISB, XML parsing is unnecessary if the proper Content-Type is served …

> According to parsing XML this maybe interesting for you yet:
> 
> http://www.steveborn.com/codenotes/LoadingXML.htm

… and that is "explained" there as well.  But they are confusing browsers 
with APIs so there are false negatives.  ActiveXObject is _not_ limited to 
Internet Explorer, but to browsers that provide ActiveX/COM support.  Those 
browsers include all that use MSHTML and have COM support enabled.  But 
there was an ActiveX plugin for Mozilla on Windows once.

> http://help.dottoro.com/ljssopjn.php

While I have not found something wrong with that resource because I have not 
reviewed it yet, I strongly suggest you stick to and recommend only the 
official documentation at the vendor's sites, if available (or sites that 
cite them specifically, neither of which applies here).  There is too much 
nonsense about this field on the Web to take risks.

Your quotations are wasteful and hardly readable.


PointedEars
-- 
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
  -- Richard Cornford, cljs, <cife6q$253$1$8300dec7@news.demon.co.uk> (2004)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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