How can I run this script?

thufir@dur:~/basex$
thufir@dur:~/basex$ basex
[warning] /usr/bin/basex: Unable to locate /usr/share/java/jing.jar in /usr/share/java
BaseX 9.0.1 [Standalone]
Try 'help' to get more information.
>
> RUN fetch.note.text.xq
Resource "/home/thufir/fetch.note.text.xq" not found.
>
> exit
Have fun.
thufir@dur:~/basex$
thufir@dur:~/basex$ cat fetch.note.text.xq

fetch:xml("https://www.w3schools.com/xml/note.xml";, map { 'chop': true() })


thufir@dur:~/basex$



The script seems to work fine from the GUI.




thanks,

Thufir

Reply via email to