W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2007

[XPerrata] Missing parentheses in example

From: <emmanuel.lazinier@dga.defense.gouv.fr>
Date: Wed, 31 Jan 2007 14:30:04 +0100
To: public-qt-comments@w3.org
Message-Id: <20070131135944.E23C4749C3@dgarmsmsg01p.dga.defense.gouv.fr>
At paragraph "3.7 For Expressions", example should be 

for $a in fn:distinct-values(book/author)
return ((book/author[. = $a])[1], book[author = $a]/title)

As example currently stands the result of the expression would be 

  <title>TCP/IP Illustrated</title> 
  <title>Advanced Programming in the Unix Environment</title> 
  <title>Data on the Web</title> 
  <title>Data on the Web</title> 
  <title>Data on the Web</title> 

Emmanuel Lazinier
Chargé d'étude NTIC
8, bld Victor
00303 armées
Received on Wednesday, 31 January 2007 18:38:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:32 UTC