[xquery-talk] Re: Attribute node whose parent is a document node

Pierrick Brihaye pierrick.brihaye at free.fr
Fri Jul 8 00:17:49 PDT 2005


Hi,

Wolfgang Hoschek a écrit :

> The issue can be simplified to these two cases:
> 
> let $a := <county name="Devon"/>
> return $a/@name (: W3C spec says top-level attributes can't be  
> serialized :)

OK. I can understand that (perhaps more on this tomorrow ;-).

My problem is that the error message was returned by :

root/county/district/town
or
root/county/district/town/town

At least 3 parents, uh ?

I may be missing something obvious, but what ?

Cheers,

p.b.




More information about the talk mailing list