Can someone suggest why I'd be getting the same result for the hash call even though
the content of $r should be changing?
let $reps := fn:collection($coll)/Rep
for $r at $lcv in $reps
let $hash := xs:hexBinary(hash:md5(fn:string($r)))
return <hash i="{$lcv}">{$hash}</hash>
};
Thanks in advance for any suggestions.