I can see one problem with your XML and another problem with your XPath. The problem with your XML is caused by the '<' character used as XML content.
> <xqx:opType><=</xqx:opType> This is not well-formed XML, it should be: <xqx:opType><=</xqx:opType> Did this throw an exception? The XPath is wrong because, it does first of all not specify the element you want, (you forgot to include the first xqx:expr element) and secondly you will have to include the XML content change above in the XPath. > /rr:ReportRequest/xqx:whereClause/*/xqx:expr > [EMAIL PROTECTED]:type = 'operatorExpr' > and xqx:opType = '<=' > and xqx:parameters/xqx:expr[1]/xqx:value = 'DateMisplaced'] > /xqx:parameters/xqx:expr[2]/xqx:value So your XPath should be: /rr:ReportRequest/xqx:whereClause/xqx:expr/*/xqx:expr [EMAIL PROTECTED]:type = 'operatorExpr' and xqx:opType = '<=' and xqx:parameters/xqx:expr[1]/xqx:value = DateMisplaced'] /xqx:parameters/xqx:expr[2]/xqx:value Regards, Edwin ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user