From: Erik V. <eri...@hc...> - 2005-03-02 22:43:01
|
I used SAX because that I have some experience with that, unlike DOM. I've no problem to try a different approach, though. Any particular package in mind? dom4j? Erik. > -----Original Message----- > From: rai...@li... > [mailto:rai...@li...] On Behalf Of > Iain Adams > Sent: 02 March 2005 23:01 > To: Rails-devel (E-mail) > Subject: [Rails-devel] XMl file handling > > 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. > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |