Numerous file parsers vs. XML

Timothy Grant tjg at exceptionalminds.com
Tue Feb 20 17:50:29 CET 2001


Thanks Martin,

I'll take a look at it and see if it fits.

I'm still debating whether I'm looking for a solution where
there is no problem!


On Tue, Feb 20, 2001 at 02:04:04PM +0100, Martin von Loewis wrote:
> Timothy Grant <tjg at exceptionalminds.com> writes:
> 
> > Are there any XML modules available that would read and XML
> > configuration file for me and return a dictionary of the
> > contents?
> > 
> > Am I being silly and looking for a solution where I don't have
> > a problem?
> 
> The easiest way may be to read the document into a DOM tree using
> xml.dom.minidom of Python 2.0, then use the DOM API to find the bits
> and pieces you are looking for.

-- 
Stand Fast,
    tjg.

Timothy Grant                         tjg at exceptionalminds.com
Red Hat Certified Engineer            www.exceptionalminds.com
Avalon Technology Group, Inc.                   (503) 246-3630
>>>>>>>>>>>>>Linux, because rebooting is *NOT* normal<<<<<<<<<
>>>>This machine was last rebooted:  34 days 21:02 hours ago<<




More information about the Python-list mailing list