JavaScript and client side scripting.
Moderator: General Moderators
Calimero
Forum Contributor
Posts: 310 Joined: Thu Jan 22, 2004 6:54 pm
Location: Milky Way
Post
by Calimero » Mon Sep 27, 2004 2:33 am
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!
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Sep 27, 2004 2:40 am
it's impractical to use Javascript to parse an xml file. Javascript wasn't exactly designed to process text data like that.
Calimero
Forum Contributor
Posts: 310 Joined: Thu Jan 22, 2004 6:54 pm
Location: Milky Way
Post
by Calimero » Mon Sep 27, 2004 2:53 am
Any other language - what to use, and is it client side, or server side ?!?!
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Sep 27, 2004 2:57 am
use php or perl, both are built well for file manipulation.
patrikG
DevNet Master
Posts: 4235 Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK
Post
by patrikG » Mon Sep 27, 2004 3:47 am
or python or, of course, XSLT.