William Baxter <bbaxter@wadsworth.org> writes: > E.g., can I obtain a string like "<object attrib=x attrib2=y>text > stuff</object>" from a DOM tree? Yes. In minidom, invoke .toxml(). Similar API exists for other DOM implementations. Regards, Martin