[basex-talk] basic xquery

2019-01-01 Thread thufir
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

[basex-talk] Bulk import (moving from eXist to BaseX)

2019-01-01 Thread Andreas Jung
Hi there, consider moving my XML stuff for a particular project from eXist to BaseX. I have a full dump from eXist with all related content and I want to import it 1:1 into BaseX…is there a bulk loader or what is the preferred way to import an existing folder structure? Of course I can create

Re: [basex-talk] Serving Static Content from Tomcat

2019-01-01 Thread Shaun Flynn
Hello there, Further to the below, I have found the common.xqm module which has the resource function to do this. Happy New Year :) Shaun On Tue, 1 Jan 2019, 12:26 Shaun Flynn Hello there, > > I am using BaseX 9.1.1 inside a Tomcat server trying to build a webapp > using RESTXQ. > > I have

[basex-talk] Serving Static Content from Tomcat

2019-01-01 Thread Shaun Flynn
Hello there, I am using BaseX 9.1.1 inside a Tomcat server trying to build a webapp using RESTXQ. I have studied the DBA xqm files, and see that there is static content delivered to the generated login page, located in dba/static folder. When I try to replicate this in my app, I get 404 errors