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:

Figure 374. Creating a Scenario

Stylus Studio displays the Scenario Properties dialog box. The name field displays a default scenario name ( Scenario0, 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.

XQuery Debugger

The Stylus Studio XQuery Debugger allows you to set breakpoints and step through the evaluation of any XQuery expression in a way that gives you complete control and visibility into the XQuery expression evaluation process.

Convert DTD to XML

Learn how to create a sample XML instance document from a DTD using Stylus Studio DTD to XML conversion tools.

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.

Multi Channel Publishing

Multi channel publishing lets you go beyond single-source publishing of HTML and PDF to also generate simultaneously for non-document forms, such as to communicate with partners or drive spreadsheets.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member