how to use the function "doc()"

203 views
Skip to first unread message

Yuhui ZHI

unread,
May 16, 2015, 1:26:55 PM5/16/15
to xpath...@googlegroups.com
I copied some xml file and clicked "save". Then I got two liens.

Now I open a new XQuery tester and try this xquery: doc("one of the liens above") and click "test".

But I always get this error: ERROR - Premature end of file.


Can someone tell me how to use the function "doc" here?

anatoliy

unread,
May 19, 2015, 4:16:40 AM5/19/15
to xpath...@googlegroups.com, yuhui...@gmail.com
Hi,

Thanks for pointing that use case. Currently it is not supported.

Though such things like demoed in this sample: http://www.xpathtester.com/xquery/c4de134236c87518b770bd6f190be759 are quite possible.

Regards,
  anatoliy 
Reply all
Reply to author
Forward
0 new messages