The fact that {} used by xQuery to mark an evaluated expressions within return clause creates a problem when the xml text contain curly brackets.
The following example:
update
replace input()/book/title
with The use of {curly brackets}
should currently be written as
update
replace input()/book/title
with The use of {‘{’}curly brackets{‘}’}
this enforces the xQuery programmer to use string operations search and replace etc.
there is therefore a need to better distinguish between xml data and xquery expressions (or a need for curly brackets equivalent entities).
#Tamino#webMethods#API-Management