Click to See Complete Forum and Search --> : Parsing, sorting and displaying xml


TheNewGirl
08-02-2004, 03:31 PM
I am new to .net and xml programming. I have a project that I am working on.
I will send the content of a form, to different servers, for them to search their databases for info about an individual.
I will be sending this info (via a get) in the URL.
I will receive info from the search back as xml results. I will get back this info from at least 4 different servers. I need to parse the info
then sort it by a couple of criteria and finally print it out in a color-coded table.(Which department (server) the data came from is a different color). I have been reading many articles and books in the past week trying to figure out the best way to solve this problem. Here’s what I have come up with:

Get the XML results --> Parse into a DOM --> Put into a memory table (I thought of using XPATH on the DOM instead of a memory table but I need to sort the data) --> Writing out the table using a data grid

Am I on the right track or way off base??? I am trying to learn too much too fast! Any suggestions for the problem I am facing????

Charles
08-02-2004, 05:32 PM
You're on the right track. Just don't try to write your own parser. What scripting language do you expect to use?

TheNewGirl
08-03-2004, 08:45 AM
I'm planninig on using VB. I have been reading about datasets
and tables in memory. I am thinking of putting the data in
one of these to do my sorting. Any suggestions on places to
find examples of all of this stuff? Good sites to checkout?

Charles
08-03-2004, 09:51 AM
I don't know of any XML parsers in VB. Any chance that you could use Java? It comes standard with an XML parser.

d-logic
08-03-2004, 05:34 PM
you could try the codeproject (http://www.codeproject.com) it's a good site for beginner's end even more advanced.