|
Home > Online Product Documentation > Table of Contents > Composing SQL/XML in Stylus Studio Composing SQL/XML in Stylus StudioThere are two ways to compose SQL/XML in Stylus Studio: You can enter any valid SQL/XML statements in the SQL/XML editor's SELECT and UPDATE tabs, though only those statements for which you have permissions will be executed. Manually Entering SQL/XML
When you type a qualified name in the
SELECT or
UPDATE tabs of the editor, Stylus Studio's auto-completion feature displays a list of valid names. For example, when you type the period in this statement,
To finish the statement, select the object name from the drop-down list and press Enter (or just double-click). Using Drag-and-DropWhen you use drag-and-drop to compose SQL/XML, you start by selecting an object (a table or a column, for example) from the database schema tree and dragging it to the SQL/XML editor. When you drop the object (by releasing the mouse button) on the editor, Stylus Studio displays a shortcut menu of choices for that object. These include
Example
Following is an example of the INSERT statement Stylus Studio creates using the
How Relational Data is Translated to XML
Consider the following illustration of an excerpt from the
As you can see, the
If we write a SELECT statement (
Notice that each record in the table (that is, each author) is rendered as a separate
|
Stylus Studio User Guides (PDF Download)
Download Stylus Studio User Guides in printer-friendly PDF format, including documentation of past (older) versions of Stylus Studio.
Convert HTML to XML
Convert HTML-to-XML with a Document Wizard that quickly converts any HTML to standard XML with the click of a button! To get started, just click File, Document Wizards on the Stylus Studio menu.
SQL/XML Tutorial
Many developers need to be able to write applications that work for databases from multiple vendors. This SQL/XML Tutorial refers to SQL/XML, XQuery, and Native XML Programming Languages to do just that.