Thanks! I initially found that "//property[contains(@id, 'icas') and contains(., '5678')]" worked as well, but I am so much of beginner when it comes to XPath, I would use anything that works.
-Rob |---------+----------------------------> | | "Stefan Lischke" | | | <[EMAIL PROTECTED]| | | net> | | | | | | 01/28/2003 08:41 | | | AM | | | Please respond to| | | xindice-users | | | | |---------+----------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: <xindice-users@xml.apache.org> | | cc: | | bcc: | | Subject: RE: NullPointerException in query "Beep" | >------------------------------------------------------------------------------------------------------------------------------| Hi, > (//ClientProfile/propertySheets/ClientPropertySheet/properties/property) > [EMAIL PROTECTED]'icas' and self::node()='1234'] > > The offending portion seems to be the self::node()='1234' location path. On The first view i think u schould use text()='1234'. I just tried it and it works. With self::node() u are just selecting the node, which has a text. mfg stefan