Re: [dom4j-user] change in xpath syntax

2005-05-19 Thread Edwin Dankert
I think you're using Firefox to view your XML ... FireFox doesn't seem to show namespace declarations. The following default namespace declaration however seems to be defined on the root element: xmlns="http://webservices.amazon.com/AWSECommerceService/2004-11-10"; You could use the following to

RE: [dom4j-user] change in xpath syntax

2005-05-11 Thread Steven Citron-Pousty
DWW2CW6BU   Sorry about the lousy formatting. Thanks for the quick reply… Steve   From: Maarten Coene [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 11:07 PM To: Steven Citron-Pousty; dom4j-user@lists.sourceforge.net Subject: Re: [dom4j-user] change in xpath syntax  

Re: [dom4j-user] change in xpath syntax

2005-05-10 Thread Maarten Coene
Steven,   I think the reason is that your XML file contains namespace declarations.   But to be sure: could you send us a sample of your XML file and some sample code illustrating your problem   regards, MaartenSteven Citron-Pousty <[EMAIL PROTECTED]> wrote: I am using dom4j 1.6 with jaxen 1-

[dom4j-user] change in xpath syntax

2005-05-10 Thread Steven Citron-Pousty
I am using dom4j 1.6 with jaxen 1-1 beta 6 but I also tried this with beta 4. In my old code I could use xpath syntax like this List list = root.selectNodes( "//SellerId" ); And I would get all the SellerID nodes. I tried that with the new dom4j code and I kept getting an empty list.