DB-to XML-Data Source Editor

 

Relational database support is available only in Stylus Studio XML Professional Edition.

You use the DB to XML Data Source editor to

  • Specify the connection settings for the server hosting the relational database you want to query
  • Define the SQL/XML SELECT statement you want to use to query the database
  • Optionally, define the SQL/XML UPDATE and INSERT statements you want to use to modify the database

Connection Settings

You use the Connection Settings fields to identify the server, database, and username and password required to connect to the database you want to query.

Database Type

Drop-down list containing the databases supported by Stylus Studio. In addition, you can select DataDirect SequeLink, which allows you to connect to any ODBC-compliant database using the SequeLink product.

Server URL

The network location, server name and port number, and other information required to establish a connection with a specific database on a specific server. The parameters and syntax for this string will vary from database type to database type.

Username

The username required to log into the database.

Password

The password associated with the username you are using to log into the database.

Connect

You use the Connect button to connect to the database using the connection settings you have defined.

Tip

 

You can hide the connection settings on the RDB-to-XML editor by clicking the Show/Hide Connection Settings button ( ) in the editor's toolbar.

SELECT Tab

You use the SELECT tab to compose the SQL/XML SELECT statement you want to use to query the relational database. You can compose the SELECT statement manually, by typing directly in the editor, and you can drag and drop tables and columns from the database tree onto the editor.

Tip

 

When you drag and drop from the database tree, Stylus Studio displays a pop-up menu to help you compose your SQL/XML statement.

UPDATE Tab

You use the UPDATE tab to compose the SQL/XML UPDATE, INSERT, and/or SELECT statement you want to use to write XML back to the relational database. You can compose the statement manually, by typing directly in the editor, and you can drag and drop tables and columns from the database tree onto the editor.

UPDATE and INSERT actions are always performed against the same database from which the SQL/XML query extracted the data.

Tip

 

When you drag and drop from the database schema tree, Stylus Studio displays a pop-up menu to help you compose your SQL/XML statement.

Database Schema Tree

You use the database schema tree to review the tables in the database to which you have connected. You can expand and collapse leaves on the tree, and drag and drop tables and columns onto the SQL/XML editor SELECT and UPDATE tabs.

Tip

 

When you drag and drop from the database schema tree, Stylus Studio displays a pop-up menu to help you compose your SQL/XML statement.

Stylus Studio displays the database tree by default once you connect to a database server. You can toggle the display by clicking the Show/Hide Database Schema button ( ) in the editor's toolbar.

Note

 

Once Stylus Studio has executed the query, the connection to the database is dropped. If you want to refresh the database schema displayed in the database tree, click the Connect button again.

For More Information

Composing SQL/XML in Stylus Studio

XML Schema Editor

Stylus Studio's XML Schema Editor lets you easily develop advanced data models expressed in W3C XML Schema. Its synchronized split-pane interface shows both a visual XML Schema Diagram and the underlying code, and you can edit in either one.

Medical Companies That Use Stylus Studio

Medical companies can't solve every ache and pain. That's why when it comes to the struggle of data integration, they turn to Stylus Studio to simplify their pains. Come see which medical companies are injecting Stylus Studio into their work load!

Government Agencies That Use Stylus Studio

Government agencies all around the nation are pledging their allegiance to Stylus Studio. Come see which government agencies are using the only XML IDE by the people and for the people.

XML Parser

An XML Parser is a parser that is designed to read XML and create a way for programs to use XML. Learn about Stylus Studio's comprehensive support for all of the world's leading XML Parsers.

Stylus Most Wanted

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