Re: Optional indicator in direct element and attribute constructors.

  Producing this result using computed constructors, conditional
  statements and custom functions turns out to be quite inelegant,
  cumbersome and hard to maintain.

don't you just need to replace
<b>...</b>
by

let $x := <b>...</b>
return
if ($x/node()) then $x else ()

David (non WG reply)


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Received on Friday, 13 May 2005 13:44:59 UTC