[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qexo-general] sequences and xml children
From: |
fl |
Subject: |
[Qexo-general] sequences and xml children |
Date: |
Wed, 18 Jun 2003 08:09:30 +1000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529 |
with kawa1.7, unfortunately, there is still this strange thing which
bother me for a long time.
Until now, I did not dare to ask...
define function x(){<a><b x="1"/></a>}
let $x:=<a>{for $b in x()/b return $b}</a> return $x/b
does not return anything !
However,
let $x:=<a>{for $b in x()/b return $b}</a> return children($x)
returns
<b x="1"/>
whose attribute cannot be extracted:
let $x:=<a>{for $b in x()/b return $b}</a> return children($x)/@x
does not return anything, either....
What returns "for" in nested xml expression is not xml anymore... Is
this xquery?
if yes, how to obtain what seems "natural" ?
Bye !
Note: the ipsi-xq demonstrator at http://relimo.darmstadt.gmd.de/
returns what I expect...
- [Qexo-general] sequences and xml children,
fl <=