Re: Tdom Question -- getting uri corresponding to local name
- From: "Gerald W. Lester" <Gerald.Lester@xxxxxxx>
- Date: Sat, 17 Feb 2007 20:51:08 -0600
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|
+------------------------------------------------------------------------+
.
- Follow-Ups:
- Re: Tdom Question -- getting uri corresponding to local name
- From: Rolf Ade
- Re: Tdom Question -- getting uri corresponding to local name
- References:
- Tdom Question -- getting uri corresponding to local name
- From: Gerald W. Lester
- Re: Tdom Question -- getting uri corresponding to local name
- From: Donal K. Fellows
- Tdom Question -- getting uri corresponding to local name
- Prev by Date: Re: Tdom Question -- getting uri corresponding to local name
- Next by Date: How to Send an E-Mail with an File
- Previous by thread: Re: Tdom Question -- getting uri corresponding to local name
- Next by thread: Re: Tdom Question -- getting uri corresponding to local name
- Index(es):
Relevant Pages
|