Thank you very much! 

2012/8/26 Martin Honnen <Martin.Honnen@arcor.de>
Gleb Gawriljuk wrote:

>   I am using Saxon 8.9 xquery with a windows cmd-line and in the
> documentation I could not find the info i need.
>
> Q: What does the doc()-function accapt as a valid parameter? Ony the
> xml-file name? I wanted to give it a directory-path to the xml file but
> received an error, does the doc()-function not support getting the xml
> from another directory ?

Try a file URL e.g.
   doc('file:///C:/Users/Joe/dir/subdir/filename.xml')


--

        Martin Honnen --- MVP Data Platform Development
        http://msmvps.com/blogs/martin_honnen/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help