world" # use ET structures directly from elementtree.ElementTree import Element, SubElement test_elm = Element("et") test_elm.set("x", "foo") SubElement(test_elm, "inner").text = "test" ?> test including a file

included from external file.

cool

test with XML string world Test ET structure test