• Glad to know it helped.

    I have written a series of XQuery tutorials at my blog site, in case you need further help.

    regards

    Jacob

    .