AssignXMLNode function

Assign sub-nodes to an XML node