How can I run this xquery: fetch:xml("http://books.toscrape.com/", map { 'parser': 'html', 'htmlparser': map { 'html': false(), 'nodefaults': true() } }) from basex using Java? I can run that xquery from the GUI. thanks, Thufir
Hi Thufir, You can save this query on disk (e.g. as fetch.xq) and run it "basex fetch.xq". See the Startup section in our documentation [1] to learn how BaseX is used on the command-line. Best, Christian [1] http://docs.basex.org/wiki/Startup On Wed, Jan 2, 2019 at 1:00 AM thufir <hawat.thufir@gmail.com> wrote:
How can I run this xquery:
fetch:xml("http://books.toscrape.com/", map { 'parser': 'html', 'htmlparser': map { 'html': false(), 'nodefaults': true() } })
from basex using Java? I can run that xquery from the GUI.
thanks,
Thufir
participants (2)
-
Christian Grün -
thufir