|
Hi all,
I was trying to query some XML documents by date (in the example below, by
creation time of type datetime)
While this works fine:
xindice xpath -c /db/test -q
"//A/B[creationtime='2003-11-27T09:19:43Z']"
The following query requesting the documents for the month of November
doesn't:
xindice xpath -c /db/test -q
"//A/B[starts-with(creationtime,'2003-11-')]" or
xindice xpath -c /db/test -q
"//A/B[contains(creationtime,'2003-11-')]"
I know that XPath 1.0 has some limitation with date types.
However, I cannot see why the second query does not work.
Any help or ideas on how to work around the problem would
be greatly appreciated.
Regards,
Boris
|
