You are right Jacob,

Thanks  again


On Wed, October 24, 2007 21:24, Jacob Danner wrote:
> I'm not sure, but I think you might want to try something like
> "declare namespace ns1='urn:blah1:blah2' " +
> "declare namespace baz='urn:foo1:foo2';" +
> "/ns1:parent/ns1:child/baz:B/baz:C";
>
>
> On 10/24/07, Psoroulas John <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi all,
>>
>>
>> I have a trivial question but I really need your help,
>>
>>
>> I have an xml like:
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ns1:parent xmlns:ns1="urn:blah1:blah2"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> xsi:schemaLocation="urn:blah1:blah2 blah.xsd">
>> <ns1:A>YYYYYY</ns1:A>
>> <ns1:child xmlns="urn:foo1:foo2">
>> <B>
>> <C>XXXXXXX</C>
>> </B>
>> </ns1:child>
>> </ns1:parent>
>>
>>
>>
>> I want to retrieve the element <C>, I use the following expressions as
>> an argument in the selectPath() method, but I get no results:
>>
>> "declare namespace ns1='urn:blah1:blah2' " +
>> "declare namespace xmlns='urn:foo1:foo2';" +
>> "/ns1:parent/ns1:child/B/C";
>>
>>
>> How I can get the <C>?
>>
>>
>>
>> Thanks in advance,
>>
>>
>> John
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to