|
|
Home > Online Product Documentation > Table of Contents > How to Create a Scenario How to Create a ScenarioTo create a scenario:
1. In the XQuery editor toolbar, click
Alternative: Select Create Scenario from the scenario drop-down list at the top of the editor window. Stylus Studio displays the Scenario Properties dialog box.
2. In the
Scenario name: field, type the name of the new scenario.
3. In the
Source XML URL (optional): field, type the name of the XML file to which you want to apply the XQuery, or click
Browse
4. In the
Output URL field, optionally type or select the name of the result document you want the XQuery document to generate. If you specify the name of a file that does not exist, Stylus Studio creates it when you preview the XQuery.
5. If you want Stylus Studio to
Store paths relative to XQuery document path, ensure that this option is checked.
6. If you check
Preview result in an external application, Stylus Studio displays the result Internet Explorer. In addition, Stylus Studio always displays XQuery results in the
Preview window.
7. If you want to specify values for XQuery parameters, click the
Parameter Values tab. Click the
Variable Name field for the parameter - Stylus Studio places the text cursor in the
Expression field, allowing you to type a value for the parameter.
8. If you want Stylus Studio to capture performance metrics, enable the XQuery Profiler on the
Profiling Options tab. See
Profiling XQuery Documents.
9. To define another scenario, click
Add and enter the information for that scenario. You can also copy scenarios. See
How to Clone a Scenario.
10. Click
OK.
If you start to create a scenario and then change your mind, click Delete and then OK. |
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.
XML Schema Designer
The XML Schema Designer is a tool for accelerating advanced XML Schema development through an intuitive visual interface for modeling any XML data structures.
XQuery API for Java (XQJ)
DataDirect XQuery is an embeddable software product based on the XQuery and XQJ standards that enables Java developers to access both relational and XML data sources using a single XQuery query. Runs on Oracle, SQL Server, DB2, and more!
DOM - The Document Object Model
The Document Object Model (DOM) is a cross-platform interface for parsing and manipulating XML. Learn how Stylus Studio supports DOM in our XML Pipeline and other XML parsing tools.