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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1182)
- Stylus Studio Technical Forum (14569)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-> + Problem with SAXO processor - ... (5)
-> + PDF Format Help (4)
-> + License check unreliable (2)
-> - XML related issue (1)
-> + Need help regarding pipeline o... (2)
-> + Error converting XML to EDIFAC... (4)
-> + XSLT Profiling for XSLT 1.0 s... (2)
-> + Grouping (2)
-> + Best Practice for Pipeline err... (2)
-> + pdf generation (4)
-> + Problems excuting a Pipeline w... (2)
-> + XML serializer (3)
-> + Supported EDIFACT versions (5)
-> - Anyone know XActimate ESX file... (1)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (247)
+ XSLT Help and Discussion (7617)
+ XQuery Help and Discussion (1966)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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?


(Deleted User) 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

Hope this helps,

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?


Tony LavinioSubject: Automate xquery
Author: Tony Lavinio
Date: 29 Jan 2010 10:32 AM

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

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.

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.

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!  

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.