[xquery-talk] Rookie XQuery Question: Nested For Loops

Michael Kay mike at saxonica.com
Thu Apr 26 18:52:48 PDT 2007


> * To write an element constructor inside another element 
> constructor, curlies are optional.

And a good quiz question for the experts is, can the curlies affect the
semantics?

That is, is there any difference between:

<a><b/></a>

and

<a>{<b/>}</a>

(A clue: you are allowed to add namespaces to this example).

Michael Kay
http://www.saxonica.com/



More information about the talk mailing list