--- a/xmlclass/xmlclass.py Sat Aug 19 16:45:37 2017 +0300
+++ b/xmlclass/xmlclass.py Sat Aug 19 17:04:31 2017 +0300
@@ -1371,8 +1371,8 @@
if element_idx > 0:
previous_elements_xpath = "|".join(map(
lambda x: prefix + x
- if x != "content"
- else elements["content"]["elmt_type"]["choices_xpath"].path,
+ if x != "content"
+ else elements["content"]["elmt_type"]["choices_xpath"].path,
elements.keys()[:element_idx]))
insertion_point = len(self.xpath(previous_elements_xpath, namespaces=factory.NSMAP))