I've just been browsing through Erik's code, and I notice that he's using
the SAX API for reading XML files. I've generally used the DOM approach,
which has always seemed to need less code to get going with. Our likely
model for reading a configuration file is to read a relatively short file,
and extract content in an arbitrary order, and DOM seems to me a better fit
for that requirement.
Just a thought.
Iain.
|