Hello,

Attached is xquery which i used.

      I tried using the xquery it halts with error 
Stopped at line 1, column 8191:
[XPST0003] Expecting ">".

i did try adding one more } as escaping. Need some help. I am using PHP to do so. Will try this in java later.

Awaiting your quick reply.

Thanks
Ganesh K