Added parent pointer to xml_node_t