Is it possible to have more than one set of parent nodes?
example:
<?xml version="1.0" encoding="UTF-8" ?>
<parentOne>
<child>
<subChild></subChild>
</child>
</parentOne>
<parentTwo>
<child>
<subChild></subChild>
</child>
</parentTwo>
is there a way for that work?
Short answer: No.
Every XML document has exactly one root element as per standard.
Use something like this instead: