Re: [dom4j-user] Problem with Amazon Web Service and XPath

2005-01-16 Thread Joey Rosenblum
Edwin, Thanks, that fixes it! -Joe On Sun, 16 Jan 2005 21:06:12 +, Edwin Dankert <[EMAIL PROTECTED]> wrote: > The problem seems to be the default namespace problem. > > The search '//Item' returns all 'Item' elements without a > namespace. > > To fix this, you could either prefix all you

Re: [dom4j-user] Problem with Amazon Web Service and XPath

2005-01-16 Thread Edwin Dankert
The problem seems to be the default namespace problem. The search '//Item' returns all 'Item' elements without a namespace. To fix this, you could either prefix all your elements: http://webservices.amazon.com/AWSECommerceService/2004-11-10";> ... ... ... and u

[dom4j-user] Problem with Amazon Web Service and XPath

2005-01-15 Thread Joey Rosenblum
Hey, Couldn't find anything about this here or on google (although maybe I should be posting to the jaxen group) -- but I'm having a really wierd issues using XPath and dom4j and the Amazon Web Service (AWS). here's some sample code: URL url = new URL("http://webservices.amazon.com/onca/xml?Ser