Hi all I have an svg file i'm creating on the fly. How do I add the doctype and xml pi? They're not an element per se, and there is no function to add them. Am I suppose to add them as elements after all?
I have something like this: self.svgRoot = ET.Element("svg", xmlns=r'http://www.w3.org/2000/svg') ET.SubElement(self.svgRoot, "g", transform="scale(1,-1)") .... .... .... self.tree = ET.ElementTree(self.svgRoot) ... thanks dave
-- http://mail.python.org/mailman/listinfo/python-list