Re: Problems with default namespace and XPath

2004-10-06 Thread Elliotte Harold
One more time: You cannot use the default namespace in an XPath expression. Unprefixed names in XPath expressions are in no namespace; i.e. they have the namespace name of "" (the empty string) no matter what. You *must* use prefixed names in XPath expressions to refer to elements and attribute

Re: Problems with default namespace and XPath

2004-10-06 Thread ivan . fontanals
PROTECTED]         cc:                 Subject:        Re: Problems with default namespace and XPath [EMAIL PROTECTED] wrote: >         If I ask for the /QUERY/REQUEST I got an error, but if I named > the namespace, the problem disappear. I mean this: >         The default namesp

Re: Problems with default namespace and XPath

2004-10-06 Thread Elliotte Harold
[EMAIL PROTECTED] wrote: If I ask for the /QUERY/REQUEST I got an error, but if I named the namespace, the problem disappear. I mean this: The default namespace never applies within XPath expressions. You need to use prefixed names in the XPath expressions even if you use unpref