PDA

View Full Version : quering xml files


zduck
10-01-2002, 03:30 PM
how can I query (or search) an xml file for the text or values of specified elements? I need it to return the location of the element where the text appeared.

Any help would be appreciated.

Alex Vincent
10-03-2002, 01:59 AM
Hm. What platforms are you writing for? I suspect this will be easier in Gecko-based browsers like Netscape 6+ & Mozilla than in IE.

zduck
10-03-2002, 02:05 AM
I want it to work with Netscape and Internet Explorer...

I was reading and can I maybe use XQL or something with the XMLDOM? Any websites that give examples or info would be helpful.

dhtroy
10-12-2002, 08:25 PM
Are you trying to query the file through an Application or through a client-side HTML document ( or the like )?

zduck
10-12-2002, 08:53 PM
in an ASP file, the query would run on the server-side.

Alex Vincent
10-12-2002, 08:54 PM
Ohhhh, server-side.... wrong forum. :)

That's what they have moderators for. Moving to ASP forum.

glenngv
10-14-2002, 04:38 AM
http://www.asp101.com/articles/michael/searchxml/default.asp

whammy
10-15-2002, 12:08 AM
Also:

http://www.w3schools.com/xml/xml_parser.asp

And don't forget to check the other XML pages on the site. ;)