A transformation scenario is a set of complex operations and settings that gives you the
possibility to obtain outputs of multiple types (XML, HTML, PDF, EPUB, and others) from the
same source of XML files and stylesheets.
Executing a transformation scenario implies multiple actions, such as:
Before transforming an XML document in Oxygen XML Developer plugin, define a
transformation scenario to apply to that document. A scenario is a set of values for various
parameters defining a transformation. It is not related to any particular document but to a
document type:
- Scenarios that apply to XML files - Such a scenario contains the location of an
XSLT stylesheet that is applied on the edited XML document and other transform
parameters.
- Scenarios that apply to XSLT files - Such a scenario contains the location of an
XML document that the edited XSLT stylesheet is applied on and other transform
parameters.
- Scenarios that apply to XQuery files - Such a scenario contains the location of an
XML source that the edited XQuery file is applied on and other transform parameters. When
the XML source is a native XML database the XML source field of the scenario is empty
because the XML data is read with XQuery specific functions like
document(). When the XML source is a local XML file, the URL of the
file is specified in the XML input field of the scenario.
- Scenarios that apply to SQL files - Such a scenario specifies a database connection
for the database server that runs the SQL file associated with the scenario. The data
processed by the SQL script is located in the database.
- Scenarios that apply to XProc files - Such a scenario contains the location of an
XProc script and other transform parameters.
- DITA-OT scenarios - Such a scenario provides the parameters for an Ant
transformation that executes a DITA-OT build script. Oxygen XML Developer plugin comes with a
built-in version of Ant and a built-in version of DITA-OT but different versions can be set
in the scenario.
Note:
Status messages generated during
the transformation process are displayed in the Console
view.