[xquery-talk] Constructing namespace nodes

David Lee dlee at calldei.com
Sun Feb 6 14:10:11 PST 2011


I would love that.
Whens XQuery 3.0 coming to an open source implementation near me ?
 

----------------------------------------
David A. Lee
dlee at calldei.com
http://www.xmlsh.org

-----Original Message-----
From: Fourny Ghislain [mailto:gfourny at inf.ethz.ch] 
Sent: Sunday, February 06, 2011 1:22 PM
To: David Lee
Cc: talk at x-query.com
Subject: Re: [xquery-talk] Constructing namespace nodes 


Hi David,

How about using computed namespace constructors (XQuery 3.0)? Something
like:

<transform>
{
  for $n in $my_namespaces
  return
  namespace { $n/@prefix } { $n/@uri }
}
</transform>

Kind regards,
Ghislain




More information about the talk mailing list