Numerous file parsers vs. XML
Sean 'Shaleh' Perry
shaleh at valinux.com
Mon Feb 19 18:43:49 EST 2001
On Mon, Feb 19, 2001 at 03:33:19PM -0800, Timothy Grant wrote:
> I have recently been studying XML, and it looks like it would
> be an excellent standardized tool for creating configuration
> files.
>
> 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?
>
most of the tools out ther for XML make it easy for you to deal with the file.
So typically it is :
found_tag(foo)
foo_open()
foo_close()
so, <foo>Bar</foo> would trigger the above call.
More information about the Python-list
mailing list