Logo

XQuery Element Constructors II

Same as before, but the variable $n is bound to "example":

element { $n } {
  element title { $i//title }
}

will return the same as before

Ivan Herman, W3C Head of Offices16 July, 20029 (17)