On 11/3/08 12:31 PM, "Dominic Mitchell" <[EMAIL PROTECTED]> wrote:
> Could it be that the document has two nodes at the root level?  I've seen this
> before when I loaded in a UTF-8 file with a BOM at the beginning.  The way
> that I solved that was something like this:
> 
>   for $node in doc('/fake/path/to/file/2008-10-32.xml')
>   return <node name="{fn:name($node)}" type="{fn:node-kind($node)}" />

Thanks Dominic , between you and support it¹s pretty conclusive that it¹s
two root level nodes. Until now I wasn¹t aware this was a legal; I had
mentally abstracted away fragments away as full on XML documents and assumed
they followed the same rules.

Thanks for the info and the help!

--
Alan Storm
[EMAIL PROTECTED]
Rubicon International
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to