I'm having troubles using XPath queries on documents using a namespace declaration. I have a simple document and can't return any result from a XPath query that should return something (I tested it using another tool).
The query : /message/lastName The document : <?xml version="1.0" encoding="UTF-8"?> <message xmlns="http://www.smartcomps.org/twister/types/message/"> <firstName>john</firstName> <lastName>doe</lastName> <amount>5000</amount> </message> I have the same problem with other documents and queries. Any help would be greatly appreciated. Thanks. _________________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user