Subject:DB to XML Data Conversion issue Author:alessandro marziali Date:15 Apr 2004 11:42 AM
Hi,
I would like to know if it is possible to convert a DB table to XML data structure (like DB to XML Conversion option of Stylus) automaticaly (calling tools or API or several coded lines in Java or ...).
I saw that Stylus option creates a basic XML structure from a DB table but how can I do that automaticaly?
At last, what is the general advantage of translate DB tables in XML structures?
Subject:RE: DB to XML Data Conversion issue Author:Ivan Pedruzzi Date:15 Apr 2004 02:42 PM
> -----Original Message-----
> From: stylus-studio-faq Listmanager
[mailto:stylus-studio-faq.listmanager@stylusstudio.com]
> Sent: Thursday, April 15, 2004 11:45 AM
> Subject: DB to XML Data Conversion issue
>
> From: "alessandro marziali"
>
> Hi,
> I would like to know if it is possible to convert a DB table to XML
data structure (like DB to XML
> Conversion option of Stylus) automaticaly (calling tools or API or
several coded lines in Java or
> ...).
Alessandro,
If I have understood correctly, you would like to replicate the DB to
XML feature in your app.
One option is to use the same component Stylus uses: "Connect for
SQL/XML" from DataDirect
http://www.datadirect.com/products/connectsqlxml/index.ssp
>
> I saw that Stylus option creates a basic XML structure from a DB table
but how can I do that
> automaticaly?
Stylus let you drag & drop a table/view from the database schema and it
creates the basic SQL or SQL/XML statement for you.
You can issue any SQL statements and you will get the XML default view
>
> At last, what is the general advantage of translate DB tables in XML
structures?
XML can be exchanged with other applications, and can be also easily
transformed to standard formats like HTML, PDF and SVG.