Subject:Automate xquery Author:Jolene Meyer Date:19 Jun 2009 01:58 PM
I am processing a flat file to XML thru XQuery. To process the file I have to physically go into Stylus Studio and push the run button. I would like to automate this so there is no human interface. Can this be done and what do I need?
Subject:Automate xquery Author:(Deleted User) Date:23 Jun 2009 04:17 AM Originally Posted: 23 Jun 2009 04:15 AM
Hi Jolene,
Stylus Studio ships with a license for DataDirect XQuery and Saxon-SA that is only allowed to run through the IDE. In order to run your query from the command line (or from a custom Java program) you need to obtain a full license from either one vendor (http://www.xquery.com and http://www.saxonica.com). In case your query is not using any advanced feature of XQuery (e.g. schema typing) you could also use the open-source (and free) Saxon-B processor.
If the conversion step is done through DataDirect XML Converters, you also need a license from http://www.xmlconverters.com
Subject:Automate xquery Author:Tony Lavinio Date:29 Jan 2010 10:32 AM
Yes.
You are using the ddtek:serialize-to-url() function, and the ddtek:
prefix is an indicator that the functionality is specific to DataDirect
XQuery. If you were to use this on Saxon or another processor, you'd
have to find the equivalent, since that particular functionality is not
part of the base XQuery standard.
You are also using the DataDirect XML Converters to read in your .dat
file as XML. That converter can be used with Saxon, but you would need
a runtime license for it, as pointed out by Alberto earlier in this
thread.
Subject:Automate xquery Author:Jolene Meyer Date:29 Jan 2010 10:48 AM
If I can modify my xQuery so Saxon can run it. Could i just purchase the xmlconverters? Saxon is ALOT cheaper than the full license of xQuery from Data direct. They quoted me $5000-$7000 for the license and $1100 - $1600 for yearly support. They is very expensive.