Page 1 of 1

JavaScript and XML

Posted: Mon Sep 27, 2004 2:33 am
by Calimero
Just a Q about whether JavaScript can be used for:
1) searching
2) extracting - for display, some parts of xml document
3) And, is that done, by matching <TAGS> and </TAGS> or by some other technique.

I looked at the structure of the XML doc's, but never came across the app that actually searches - I'm a guy that preffer to learn from/by examples.

Tnks Ahead!

Posted: Mon Sep 27, 2004 2:40 am
by feyd
it's impractical to use Javascript to parse an xml file. Javascript wasn't exactly designed to process text data like that.

...

Posted: Mon Sep 27, 2004 2:53 am
by Calimero
Any other language - what to use, and is it client side, or server side ?!?!

Posted: Mon Sep 27, 2004 2:57 am
by feyd
use php or perl, both are built well for file manipulation.

Posted: Mon Sep 27, 2004 3:47 am
by patrikG
or python or, of course, XSLT.