[XMLDocument] Return any created node. Also parse namespace in tag.
commitafadbd5d27ddc421b569e7fe0ef9b12d2fc93b33
authorAndrew McMillan <andrew@morphoss.com>
Mon, 8 Mar 2010 00:18:51 +0000 (8 13:18 +1300)
committerAndrew McMillan <andrew@morphoss.com>
Mon, 8 Mar 2010 00:18:51 +0000 (8 13:18 +1300)
tree1edabb8ed42b1b264ffeced22caded0618774f9e
parent98ca5ef587bf29f36d8babbc5651964dc1a5ca98
[XMLDocument] Return any created node. Also parse namespace in tag.

These functions are much more useful if we can actually use any
returned reference as another location within a document, so we
can have a hold of the root, and then add within each new tag
we add, supporting outer -> inner construction approaches along
with the existing inner -> outer approach used currently.

Additionally the NewXMLElement method is changed to parse the
namespace out of the tag, as the NSElement already does.
inc/XMLDocument.php