Tdom Question -- getting uri corresponding to local name



In tdom, how does one the the URI for a local name?

For the following XML:
<Node1
xmlns:s1="http://www.foo.com/bar
xmlns:s2="http://www.bar.com/foo";>
<Node2>
...
</Node2>
</Node1>

I'm processing Node2 (or its children) and need to get the URI for s1 -- how do I?

--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.



Relevant Pages