On 22/07/2012 23:33, Ihe Onwuka wrote:
Didn't use the right kind of comments and fell foul of this gotcha

http://en.wikibooks.org/wiki/XQuery/Gotchas#Comments

Except what I really want to do is comment a line in a direct
constructor and whichever type of comment I use it's going to appear
in the output and I don't want it to.



Can't you do


<myelement>{((: a comment:))}</myelement>

To put a comment in (an empty list in an enclosed expression in) a direct element constructor?

David

_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to