Thanks for your help. The problem was that the function was interpreting the content of the $item variable as just the string value of the innermost element so the path resulted in an empty sequence. As it turns out I had constructed the input to unquote incorrectly. Once I fixed that it worked.
Bob
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
