Hi all,
I'm trying to use the transactional context character ';' as per the
developer guide, however I don't seem to be getting it right
I appear to be able to do this in cq:
doc('/a.xml'),
xdmp:node-replace(doc('/a.xml')/node(), <b>goodbye</b>);
doc('/a.xml')
and results in
<b>hello</b>
<b>goodbye</b>
however if put this in any other context, ie a function, it stops being able
to understand the semi colon:
*
XDMP-UNEXPECTED: Unexpected token syntax error, unexpected SemiColon_,
expecting Comma_ or Rbrace_*
Am I missing something obvious? the developers guide doensn't have much on
this
Cheers
Paul
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general