minidom

Duncan Smith buzzard at urubu.freeserve.co.uk
Tue Dec 4 01:38:21 EST 2001


This may be a stupid question, but I'm struggling.  I can retreive
information from an XML file (using minidom) as long as it is a node
attribute.  But I cannot figure out how to get data otherwise.  eg.

<VAR NAME="ESLeak" TYPE="discrete" XPOS="16030" YPOS="16030">

    <DESCRIPTION>EngineStart Leak</DESCRIPTION>

    <STATENAME>good</STATENAME>

    <STATENAME>bad</STATENAME>

XPOS etc. no problem.  But how (using minidom) do I retreive 'Engine Start
Leak' and 'good' etc?  Anyone know of any good documentation / worked
examples for minidom?  Thanks in advance.

Duncan Smith






More information about the Python-list mailing list