Hi all!
I have the following xml file:
"
<items>
        <item>hi</item>
        <item>hello</item>
</items>
"
and need to read all the content between <items> and </items> tags and
saved in a string, in this case:
"
        <item>hi</item>
        <item>hello</item>
"
Working with "xml.dom.minidom" I can use the
"xml.dom.minidom.Node.toxml()" to obtain the string inside one node. But
I wish to use 4DOM to load my DOM tree.

Someone know a manner to make something like
"xml.dom.minidom.Node.toxml()" using 4DOM?

Why a lightweight implementation like "xml.dom.minidom" have this
feature, while a 4DOM don't?

Thanks




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to