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)
Topic  
Postnext
Jared de VriesSubject: Can we use Stylus for our projects?
Author: Jared de Vries
Date: 15 Jan 2009 04:58 AM
Hi all,

For our online service we are currently using a custom webbased (.php) solution to handle XML files. But we are not very happy with this as XML files are getting bigger and bigger. We are currently handling XML files above 30MB.

Can we achieve the following within your Stylus?

1. Read data data from our remote MYSQL db
2. get (big) XML files from weblocations based on step 1.
3. match the fetched XML content with another remote MYSQL db
4. if different --> update remote MYSQL

If above is possible, would it be hard/ much work to implement it?
And would it actually be a better and faster solution?

Postnext
Minollo I.Subject: Can we use Stylus for our projects?
Author: Minollo I.
Date: 15 Jan 2009 09:00 AM
> 1. Read data data from our remote MYSQL db

Yes, you can do that using XQuery (Enterprise Suite).

> 2. get (big) XML files from weblocations based on step 1.

Not sure how this is related to step 1; but assuming you are talking about fetching data from a generic URI - possibly specified dynamically in your database, yes, yuo can do that.

> 3. match the fetched XML content with another remote MYSQL db

"Match" is a vague term; are you trying to check that the 30MB XML inside your database matches the 30MB XML you fetch through an I/O? How do you define "matches"? Equivalent XML InfoSet? Identical content, encoding, whitespacase and everything? Only match a few specific element/attribute values?

> 4. if different --> update remote MYSQL

Yes, in general you should be able to do that; how is the XML stored in your database?

How easy/difficult it is to do; not having details about step #3, it's tough to tell; but the process would seem very simple to cover in XQuery.

Postnext
Jared de VriesSubject: Can we use Stylus for our projects?
Author: Jared de Vries
Date: 16 Jan 2009 05:42 AM
Thanks Minollo for your reply.

2. Yep, the XML urls are in Mysql, so we need to read them from the db and fetch the data one by one.

3. We have house-for-sale listings in our db. The xmls also contain houses. We have to check one-by one
if a listing is new or already present in the db. If the listing is present it has to be updated, if it's new,
it has to be inserted in MYSQL.

4. The xml values are stored in MYSQL as values, not as XML.

Posttop
Minollo I.Subject: Can we use Stylus for our projects?
Author: Minollo I.
Date: 16 Jan 2009 09:03 AM
Seems to me DataDirect XQuery (bundled in Stylus Studio) will definitely help 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!  
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.