t;>
>>
>>
>> On Fri, February 22, 2008 21:14, Wing Yew Poon wrote:
>>
>>> Sorry, typo - the query should have been "declare default element
>>> namespace 'mynamespace'; /a/b".
>>>
>>>
>>>
>>>
>>>
>>> From:
t;.
> >
> >
> >
> >
> > From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 22, 2008 11:11 AM
> > To: user@xmlbeans.apache.org
> > Subject: RE: Applying XPath to an XML with or without namespace
&
---
> *From:* Wing Yew Poon [mailto:[EMAIL PROTECTED]
> *Sent:* Friday, February 22, 2008 11:11 AM
> *To:* user@xmlbeans.apache.org
> *Subject:* RE: Applying XPath to an XML with or without namespace
>
> Pascal,
> in
>
>
>
> what you have
e 'mynamespace'; /a/b".
>
>
>
>
> From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 22, 2008 11:11 AM
> To: user@xmlbeans.apache.org
> Subject: RE: Applying XPath to an XML with or without namespace
>
>
>
> Pascal,
&
Sorry, typo - the query should have been "declare default element
namespace 'mynamespace'; /a/b".
From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
Sent: Friday, February 22, 2008 11:11 AM
To: user@xmlbeans.apache.org
Subject: RE: Applying XPa
Pascal,
in
what you have is every element within and including a being qualified as
having the namespace "mynamespace". Thus, the XPath must qualify the
elements too. This is only logical.
There are a couple of ways you can qualify the elements in the XPath.
You can use the prolog you have
6 matches
Mail list logo