Hi All,
I've encountered a problem while moving from 3.2 to 4.1. It seems like XQuery
dialect 1.0-ml is handling ampersand slightly different from 0.9-ml.
Suppose I have the file:
<root>
<item type="title">Radiology & Ultrasound</item>
</root>
Located in /data/store/items/
I am writing a simple query just to illustrate the problem:
xdmp:directory("/data/store/items/", "infinity")//it...@type='title'][. =
'Radiology & Ultrasound']
Under 3.2 it returns me the <item> node. Great! But under 4.1 I just get the
empty sequence (replacing & with & gives no effect). So could anyone
please suggest another idea of matching ampersand-containing strings in 4.1
environment?
Thanks in advance,
Van
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general