7 Aug
2019
7 Aug
'19
7:03 p.m.
On 07.08.2019 18:52, Marc wrote:
I want to write a comment in the xml I produce with my XQuery. I try to use the comment() function, but each time I want to put something inside the () i have a syntax error.
If you want to create a comment node computed by an expression use comment { expression } see https://www.w3.org/TR/xquery-31/#doc-xquery31-CompCommentConstructor So comment { $r } seems to be what you want to do.