Re: Tdom Question -- getting uri corresponding to local name



Donal K. Fellows wrote:
Gerald W. Lester wrote:
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>

Neither of those namespaces give the URI for Node1 or Node2; that
would be indicated by a 'xmlns=' somewhere above (no colon). I've no
idea how to simply get the current prefix-URI mapping for a node; tdom
doesn't seem to make that info simply available.

I don't need the default namespace, I need the prefix-URI mapping (thanks for giving me the correct "name/handle" for what I need.

I could not see a way to get it, hopefully it is something I'm missing.

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



Relevant Pages

  • Tdom Question -- getting uri corresponding to local name
    ... how does one the the URI for a local name? ... For the following XML: ...
    (comp.lang.tcl)
  • Re: How to update node into xml variable?
    ... You can't update nodes with XML variable. ...
    (microsoft.public.sqlserver.xml)
  • 403 Error after extending a SharePoint Site
    ... Create Config DB from NODE1 and connect to the DB in NODE2 ... Test extended site in NODE1 and apply template. ... I've already re-installed SharePoint Portal Server and still get the same ...
    (microsoft.public.sharepoint.windowsservices)
  • DSSI, MSCP serving and identical nodes
    ... I am trying to workout a transition scenario from my current environment ... node1 has allocation class of 1, ... node1 will be the primary node with node2 probably down most of the ...
    (comp.os.vms)
  • Re: Resources not coming online
    ... When I failover from node1 to node2, ... SQL Server, SQL Server Aent and SQL Analysis services do not come online. ... If I failover to node2 again, ... service passwords on node1. ...
    (microsoft.public.sqlserver.clustering)