minidom, drilling down to a low node in one line?
Matt Brown - nyc
MatthewBrown at gmail.com
Fri Jan 16 19:33:03 CET 2009
I hope this isn't completely redundant...
I'm working with an example found of parsing XML with xml.dom.minidom
and am having some issues getting a node down three levels.
Here is the tutorial:
Given the XML:
<?xml version="1.0" ?>
How do I address the textNode.data that = 0?
The only way I figured out is to recursively childNode from the parsed
down (as following the guide). Is there no way to simply address the
item by something along the lines of:
xmldoc = minidom.parse("example.xml")
Any input or direction is appreciated.
More information about the Python-list