I am creating an XML file in python. The first element is built as follows:
xsi = "http://www.w3.org/2001/XMLSchema-instance"
mainElement = ET.Element("{" +xsi+ "}ArrayOfAnyType")
which results in a line:
<xsi:ArrayOfAnyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
What I cannot solve is how to remove the xsi prefix in "xsi:Array...". The rest of the created xml file is just as I need.
Thanks for your hints
Piotr