[xml] a question about getting the element content with name space

Part of my xml file looks like this before I added the
namespace support :

I want to retrieve node1 depending on the content of
node 2.
Here is my xpath :

It worked okay. But after I added the namespace stuff,
how do I compose my xpath query to compare the content
of the child node ?
I was using the following which, of course, does not
child::*[local-name()=node2 and
namespace-uri()="some_name_space" and node2='test']

Please let me know the correct syntax. 

Thanks in advance.

momenaa yahoo com

Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]