parentId1 aParentValue
The example is a little ambiguous. Assuming your input can have multiple parent nodes, each linked to multiple child nodes, I would suggest you use a key to resolve the cross-references:
parent
child
XSLT 1.0