Hello
I use Oxygen with Saxon enterprise edition 9.6.05.
My output method is “text”.
The following statement does its job correctly
for $c in doc("factbook.xml")//country order by $c/@name return
$c/@name/string()
However I do not understand why
for $c in doc("factbook.xml")//country order by $c/@name return $c/@name
returns an empty sequence.
What especially intrigues me is that ordering with $c/@name works fine (no
conversion to string) and the output as text not.
Any hints?
Thanks in advance
Leo
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk