[xquery-talk] Node sequences and Path Expressions

Pierrick Brihaye pierrick.brihaye at culture.gouv.fr
Fri Nov 4 08:45:58 PST 2005


Hi,

For the following statement :

let $a := <x><y><z/></y></x>
  return ($a, $a/*)/* 

Saxon 8.6 ;-) returns :

<?xml version="1.0" encoding="UTF-8"?>
<y>
   <z/>
</y>
<z/>

i.e. the same result than :

let $a := <x><y><z/></y></x>
  return ($a/*, $a/*/*)

Is the first ordering implementation dependent or is it fixed by some spec ?

Cheers,

p.b.



More information about the talk mailing list