Date: 2004-02-12T12:50:34
Editor: 68.155.128.44 <>
Wiki: Xindice Wiki
Page: XindiceFAQ/AttributeValue
URL: http://wiki.apache.org/xindice/XindiceFAQ/AttributeValue
no comment
Change Log:
------------------------------------------------------------------------------
@@ -2,14 +2,16 @@
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']"
+}}}
''(note the single quotes around the attrbiute value)''