I am building a tree (for SOAP) using DOM. I would like read the following info at a certain node:
- Is an XML namespace already "imported" into the document (with
xmlns:blah="http://...) - knowing thehttp://...part. - What moniker (in the above example
blah) used.
Is there any way other than the manual: to walk chain of ancestors and iterate on attribute nodes, find any starting with xmlns: checking the value and if match return the rest of the attribute name?