[xquery-talk] Rookie XQuery Question: Nested For Loops
Per Bothner
per at bothner.com
Fri Apr 27 10:10:29 PDT 2007
Michael Kay wrote:
> declare copy-namespaces no-preserve, inherit;
> <doc>
> <a>{<b xmlns:p="q"/>}</a>
> <a><b xmlns:p="q"/></a>
> </doc>
My reading of the formal semantics (which I realize isn't
treated as normative) is that these are equivalent, since:
4.7.1 Direct Element Constructors
Normalization
[DirElemConstructor]ElementContentUnit
==
[DirElemConstructor]Expr
--
--Per Bothner
per at bothner.com http://per.bothner.com/
More information about the talk
mailing list