Added function to take the pointer to the root element from a document, thus removing the pointer from the document's ownership.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5923 acf43c95-373e-0410-b603-e72c3f656dc1