That was it. Thank you. -----Original Message----- From: Philipp Dev [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 6:12 PM To: xindice-users@xml.apache.org Subject: re: XPath Query Problem
Hi you are using <command switch="ac1" ....> so switch is an xml attribute to refer to an attribute in xpath you need to use the prefix "@" it's missing in your java lines. So instead of String xpath = "//command[switch='ac1']"; try String xpath = "//[EMAIL PROTECTED]'ac1']"; should help regards