Re: ElementTree xmlns:xsi question

2006-11-28 Thread Fredrik Lundh
Craig wrote: > I'm generating an XML script using ElementTree which has the following > attributes in the root element: > > http://www.w3.org/2001/XMLSchema-instance"; > xsi:noNamespaceSchemaLocation="code/can.xsd"> those are namespace declarations, and mean that tags prefixed by "xsi" really

ElementTree xmlns:xsi question

2006-11-28 Thread Craig
Hi there, I'm generating an XML script using ElementTree which has the following attributes in the root element: http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="code/can.xsd"> My python script I have written is: root = Element("CANmessages", xmlns:xsi="http://www.w3.