[xquery-talk] let's comment out a line in XQuery

Ihe Onwuka ihe.onwuka at gmail.com
Fri Dec 21 06:43:18 PST 2012


On Fri, Dec 21, 2012 at 1:08 PM, Michael Sokolov <sokolov at ifactory.com> wrote:
> On 12/20/2012 11:00 AM, Michael Kay wrote:
>>
>>
>> Note that you haven't actually commented anything out. When you change the
>> content of an element constructor from
>>
>> <a> <b/> <c/> </a>
>>
>> to
>>
>> <a> (:<b/>:) <c/> </a>
>
> So to achieve the intended effect (no nodes where <b/> is, not even a
> comment node), one would need:
>
> <a>{(:<b/>:)()}<c/></a>
>
> ?  That's a lot of punctuation.
>
> I think this has been batted around here before,

http://www.stylusstudio.com/xquerytalk/201207/003932.html


More information about the talk mailing list