for proper validation, the xml order must follow the xml schema: id, locale, field, node, nodename, version-name, version-created, parent-document, child, children, reference-one, reference-many, referrers, mixed-referrers. same for the other xmls