Xml processing

Hi there:

I’m new to programming and I need to process a basic xml file and pull
out a few attribute values. So lets say that you have a very simple xml
document and you don’t care about the DOM, i.e., you don’t care about
which node is a parent/child/family pet of which-- how do most of you
experienced programmers proceed? I’ve been taking in lines from the
file and splitting them to get down to the info that I need, but it
seems to be an inefficient way of doing things.

Matt,

I’d suggest the excellent REXML package at
http://www.germane-software.com/software/rexml/. It’s really painless
to use.

Best,

Francis

Matthew Huggett mhuggett@zam.att.ne.jp wrote in message news:3E0DC7C8.6030405@zam.att.ne.jp

···

Hi there:

I’m new to programming and I need to process a basic xml file and pull
out a few attribute values. So lets say that you have a very simple xml
document and you don’t care about the DOM, i.e., you don’t care about
which node is a parent/child/family pet of which-- how do most of you
experienced programmers proceed? I’ve been taking in lines from the
file and splitting them to get down to the info that I need, but it
seems to be an inefficient way of doing things.