help required for xquery
GKGanesh K18 Mar 2010 07:43 # 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
MSMichael Seiferle18 Mar 2010 14:56 # 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
Quoted text · Ganesh K · 8 lines
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 ">".
>
>
⚡Generated with XQuery