topical media & game development

talk show tell print

basic-xml-09-EvenNumbers.xquery / xquery



  <evenNumbers>
  {let numbers := (1,2,3,4,5,6,7,8,9,10)
   for i in (1 to 10) return 
   {
  if i < 3 return
  <number>{i}</number>
   }
  }
  </evenNumbers>


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.