Date: 2004-02-06T09:30:15 Editor: 68.155.135.182 <> Wiki: Xindice Wiki Page: XindiceFAQ/AttributeValue URL: http://wiki.apache.org/xindice/XindiceFAQ/AttributeValue
no comment New Page: Q) I followed the Documentation for selecting an attribute but I get no data or a Java XPath Error? I am using Windows 2000. A) To use an XPath with an attribute on Windows 2000 you will need to enclose the entire XPath expression in double quotes " . For Example: C:\apache>xindice xpath -c xmldb:xindice://localhost:8080/db/test -q /TEST_NODE/[EMAIL PROTECTED]"3"] will not return any data or cause a Java error. Instead, use: C:\apache>xindice xpath -c xmldb:xindice://localhost:8080/db/test -q "/TEST_NODE/[EMAIL PROTECTED]'3']" This will return the desired node.