Re: [basex-talk] Using external variable to perform node insert

2015-12-15 Thread Christian Grün
Hi Mike, Sorry for the late reply. > declare namespace asy="http://xml.acme.com/asy;; > declare variable $part external; > insert nodes $part as first into > db:open("PARTDB")/asy:assembly[@name="ZB09010"] > > The characters in the xs:string $path reserved for XML e.g. < > etc are > converted to

Re: [basex-talk] Using external variable to perform node insert

2015-12-15 Thread Mike Engledew
Hi Christian, Our application is attempting inserting some new nodes into an XML document, we are using our own namespace for our elements. The XML for these new nodes is in a Java String, I was planning to create am XQuery with an external variable, then bind the Java variable to it and execute

[basex-talk] Problem with 3rd party jars in repository

2015-12-15 Thread E. Wray Johnson
I have a 3rd party jar which is open source, which has no startup eligible classes. The classes I need to use have class names (not package name) that are all lower case. This seems to be a problem for BaseX. So, I tried to create a wrapper class, and the wrapper class loads but BaseX cannot load

Re: [basex-talk] Using external variable to perform node insert

2015-12-15 Thread Christian Grün
Hi Mike, > I could create a new Java String with a complete XQUery statement that > includes a "let $part :=", but I come from an SQL world where we prepare an > SQL statement with ? placeholders and then provide host variables with > various values at run time, so the binding of variables to a

Re: [basex-talk] Problem with 3rd party jars in repository

2015-12-15 Thread Christian Grün
> I have even tried putting the jar in the basex\lib folder. This should work – as long as you start BaseX with the start scripts. I think we’ll need a little, ideally self-contained example of your wrapper class and XQuery code to guess what may go wrong. > I have been able to install my