W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2005

RE: Optional indicator in direct element and attribute constructors.

From: Michael Kay <mhk@mhk.me.uk>
Date: Fri, 13 May 2005 15:00:30 +0100
To: "'David Carlisle'" <davidc@nag.co.uk>, <dengovatov@bea.com>
Cc: <public-qt-comments@w3.org>
Message-ID: <E1DWaiU-0002oX-EB@bart.w3.org>

> don't you just need to replace
> <b>...</b>
> by
> 
> let $x := <b>...</b>
> return
> if ($x/node()) then $x else ()
> 

Or even

<b>...</b>[node()]

Michael Kay
Received on Friday, 13 May 2005 14:00:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:05 UTC