I was wondering it there is a way to obtain the xml_document that contains a given xml_node. Looking at the API doc xml_node provides the method root() but the return type is xml_node instead of xml_document. Is there a way to work around this in order to get the document?
Thanks in advance.