Re: [basex-talk] Creating a batch BaseX program

2015-05-28 Thread Noam Green
Option one is definitly cleaner (and works much faster than my "dirty" version). Thanks so much Christian - You're a star :) Noam On Thu, May 28, 2015 at 12:09 AM, Christian Grün wrote: > Attached are two more solutions that might show you how it could work as > well. > > > On Wed, May 27, 2015

Re: [basex-talk] Multiple BaseX Tomcat webapps

2015-05-28 Thread Kristian Kankainen
I haven't found any solutions, but I wrote down what I noticed: None of my webapps have a corresponding context.xml file in: $CATALINA_BASE/conf/[enginename]/[hostname]/ Neither is there any default context file in: $CATALINA_BASE/conf/[enginename]/[hostname]/context.xml.default So the only def

Re: [basex-talk] Multiple BaseX Tomcat webapps

2015-05-28 Thread Christian Grün
Hi Kristian, Thanks, keep on going, every feedback is valuable. Christian On Thu, May 28, 2015 at 9:22 AM, Kristian Kankainen wrote: > I haven't found any solutions, but I wrote down what I noticed: > > None of my webapps have a corresponding context.xml file in: > $CATALINA_BASE/conf/[enginen

[basex-talk] Issues with new json xml function and copy clause

2015-05-28 Thread James Wright
I am having issues with the new json-to-xm functions with a copy clause. I would expect the following query to work: *let $json := '{"age":23,"name":"Bob"}'return copy $out := json-to-xml($json) modify delete node $out//*[@key='age'] return xml-to-json($out)* Instead I get an error when c