Update SimpleXML Parser to support nested subtree processing