Hi Ganesh,
XQuery expects valid XQuery inside {…} and tries to interpret it. In order to avoid this you have to wrap {…} that should not be interpreted in CDATA tags.
Grep search for: >{(.*)}< and replace it by ><![CDATA[{$1}]]>< as quick and dirty fix.
Please see if the attached version with added CDATAS solves your issue. Feel free to ask more.
Kind regards, Michael
Am 18.03.2010 um 07:43 schrieb Ganesh K:
Attached is xquery which i used.
I tried using the xquery it halts with error
Stopped at line 1, column 8191: [XPST0003] Expecting ">".