XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jolene  MeyerSubject: 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?

Thanks

Postnext
Alberto MassariSubject: Automate xquery
Author: Alberto Massari
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

Hope this helps,
Alberto

Postnext
Jolene  MeyerSubject: Automate xquery
Author: Jolene Meyer
Date: 28 Jan 2010 01:01 PM
I down loaded a 30 trial of Saxon.

Saxon told me I wouldn't be able to use there software becuause my Query is vendor specific.

It that true?


UnknowneStorefront(4).xquery
xQuery

Postnext
Tony LavinioSubject: 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.

Postnext
Jolene  MeyerSubject: 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.

Posttop
Tony LavinioSubject: Automate xquery
Author: Tony Lavinio
Date: 29 Jan 2010 06:19 PM
I saw over on the saxon-help list that Michael pointed you in the
right direction for using the resolver.

What he said should work; we've tested it here.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.