Cleaner fake code... A less ugly hack ;-)...
On Wed, Feb 1, 2017 at 6:54 PM, Murray, Gregory gregory.murray@ptsem.edu wrote:
Have you tried just an empty sequence?
{() (: comment... :)}
On Feb 1, 2017, at 5:01 PM, France Baril france.baril@architextus.com wrote:
I was wondering if it would be possible to either:
- Allow for an omit-comment option in HTML5 serializer
- Allow for {(: Nothing but a comment :)} in xquery code.
I often have long pieces of HTML to output and clients don't want me to output them with the result. However, I can't use {(::)}. I have been using useless code around my comments just to get around this issue:
{
let $t := '' return $t
(: The comment I can't leave without the bogus code:)
}
Thanks!
-- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com