tdom parser problems with xmlns keyword
- From: sandhya <sandhyasapare@xxxxxxxxx>
- Date: Mon, 30 Nov 2009 02:35:36 -0800 (PST)
Hi all,
I have got to parse a xml file which is always in a defined schema.So
this always comes with keyword "xmlns" at starting
I have something like
<SCL xmlns="aaa" xmlns:xsi="bbb" xsi:schemaLocation="ccc"
<foo>
<bar>trial</bar>
</foo>
</SCL>
when I do
set nodeList [$root selectNodes //SCL ]
I get empty in variable "nodelist"
Incase I change "<SCL xmlns="aaa" xmlns:xsi="bbb"
xsi:schemaLocation="ccc"" to
"<SCL>"
then I get the root node address in variable nodeList.
Is there a solution for this keyword problem "xmlns"
.
- Follow-Ups:
- Re: tdom parser problems with xmlns keyword
- From: Donal K. Fellows
- Re: tdom parser problems with xmlns keyword
- Prev by Date: Re: Subtle change in 8.5 or is it tclkit ?
- Next by Date: UTF/Unicode-safe comparison of string object in Tcl-C API
- Previous by thread: Subtle change in 8.5 or is it tclkit ?
- Next by thread: Re: tdom parser problems with xmlns keyword
- Index(es):
Relevant Pages
|