I don't know what the problem is. But both these work for me:
for $i in collection('coll')/catalog/product/name
where fn:string ($i/../@dept) = 'WMN'
return $i
for $i in collection('coll')/catalog/product/name
let $ok := $i/../@dept = 'WMN'
where $ok
return $i
So some workarounds exist and Geert is filing a bug.
/ch
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
