def _prepare_document(self):
self._xml = ET.Element("<STR_LIT>")<EOL>self._xml.set("<STR_LIT>",<EOL>"<STR_LIT>" + self.schema)<EOL>self._xml.set("<STR_LIT>",<EOL>"<STR_LIT>")<EOL>ET.register_namespace("<STR_LIT>",<EOL>"<STR_LIT>" + self.schema)<EOL>ET.register_namespace("<STR_LIT>",<EOL>"<STR_LIT>")<EOL>n = ET.Element(self.root_el)<EOL>self._xml.append(n)<EOL>
Build the main document node and set xml namespaces.