Hi Malcolm,
Try one of the following ways:
http://www.w3.org/TR/xquery/#id-element-constructor
"Since XQuery uses curly braces to denote enclosed expressions, some
convention is needed to denote a curly brace used as an ordinary character.
For this purpose, a pair of identical curly brace characters within the
content of an element or attribute are interpreted by XQuery as a single
curly brace character (that is, the pair "{{" represents the character "{"
and the pair "}}" represents the character "}".) Alternatively, the character
references <http://www.w3.org/TR/xquery/#dt-character-reference> { and
} can be used to denote curly brace characters. A single left curly
brace ("{") is interpreted as the beginning delimiter for an enclosed
expression. A single right curly brace ("}") without a matching left curly
brace is treated as a static error<http://www.w3.org/TR/xquery/#dt-static-error>
[err:XPST0003 <http://www.w3.org/TR/xquery/#ERRXPST0003>]."
Ivan Shcheklein,
Sedna Team
Does anybody have recommendations on how to handle {} statements in XML?****
>
> ** **
>
> The following is returning an ERROR XPDY0002****
>
> ** **
>
> update replace $EntityValue in index-scan("EntityValuesIndex",
> "1281561663", "EQ") WITH
> <EntityValue><Id>1281561663</Id><Type>Employee</Type><Name>Judy K Carp
> {empl}</Name></EntityValue>****
>
> ** **
>
> Some of our clients have {} in their text strings.****
>
> ** **
>
> Thanks,****
>
> Malcolm****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Sedna-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion