Creating a Scenario

This section describes how to create a DB-to-XML scenario.

Naming Scenarios

Stylus Studio supplies a default name, like Scenario0, for example. for new DB-to-XML scenarios. You can accept the default name, but you should consider typing a name that makes it easy to distinguish one scenario from another. See How to Rename a Scenario.

How to Create a Scenario

To create a scenario:
1. Open the DB-to-XML data source editor if it is not already open.
2. Select Create Scenario from the scenario drop-down list at the top of the editor window.

Stylus Studio displays the Scenario Properties dialog box. The name field displays a default scenario name ( Scenario1, for example) in edit mode.

3. Change the default scenario name.
4. Specify the connection settings. See Specifying Connection Settings if you need help with this step.
5. Click OK to save the scenario with the new settings.

Stylus Studio connects to the server specified in the scenario.

Alternative

Use this procedure if the Scenario Properties dialog box is already open.

To create a scenario when the Scenario Properties dialog box is already open:
1. Click New on the Scenario Properties dialog box.

The name field displays a default scenario name ( Scenario0, for example) in edit mode.

2. Change the default scenario name.
3. Specify the connection settings. See Specifying Connection Settings if you need help with this step.
4. Click OK to save the scenario with the new settings.

Stylus Studio connects to the server specified in the scenario.

XML Syntax Help - Intelligent XML Editing

Stylus Studio's XML Editors feature Intelligent XML Schema/DTD-Aware Code Sensing and context sensitive XML code auto-completion. Simplify XML editing with Stylus Studio today.

Text File to XML

Stylus Studio provides several easy-to-use document wizards that allow you to quickly convert text files to XML. Create XML from text and EDI, create XML Schema from EDIFACT, and more!

Apache AXIS

Develop and test Web service applications using Apache AXIS and Stylus Studio.

XQuery Functions - User Defined Functions in XQuery

Dr. Michael Kay's tutorial entitled: 'Defining your own Functions in XQuery' explains how to write powerful User Defined Functions in XQuery.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member