python and parsing an xml file

John Nagle nagle at animats.com
Tue Feb 22 17:56:54 EST 2011


On 2/21/2011 2:08 PM, Matt Funk wrote:
> Hi Terry,
>
> On 2/21/2011 11:22 AM, Terry Reedy wrote:
>> On 2/21/2011 12:30 PM, Matt Funk wrote:
>>> Hi,
>>> I was wondering if someone had some advice:
>>> I want to create a set of xml input files to my code that look as
>>> follows:
>>
>> Why?
> mmmh. not sure how to answer this question exactly. I guess it's a
> design decision. I am not saying that it is best one, but it seemed
> suitable to me. I am certainly open to suggestions. But here are some
> requirements:
> 1) My boss needs to be able to read the input and make sense out of it.
> XML seems fairly self explanatory, at least when you choose suitable
> names for the properties/tags etc ...

    For that, you can provide an XSL stylesheet for the XML file which
will cause it to be displayed in a browser in a nice format.

				John Nagle



More information about the Python-list mailing list