Download "user manual"

Transcript
•
Oxygen XML Editor | Transforming Documents | 806
Project Options - The scenario is stored in the project file and can be shared with other users. For example, if your
project is saved on a source versioning/sharing system (CVS, SVN, Source Safe, etc.) or a shared folder, your team
can use the scenarios that you store in the project file.
The lower part of the dialog box contains the following tabs:
•
•
•
XSLT
FO Processors
Output
The XSLT Tab
The XSLT tab contains the following options:
•
XML URL - Specifies the source XML file. This URL is resolved through the catalog resolver. If the catalog does
not have a mapping for the URL, then the file is used directly from its remote location.
Note: If the transformer engine is Saxon 9 and a custom URI resolver is configured in Preferences for
Saxon 9, the XML input of the transformation is passed to that URI resolver.
Note: If the transformer engine is one of the built-in XSLT 2.0 / 3.0 engines and the name of an initial
template is specified in the scenario, the XML URL field can be empty. The XML URL field can also be
empty if you use external XSLT processors. Otherwise, a value is mandatory in the XML URL field.
•
XSL URL - Specifies the source XSL file that the transformation will use. This URL is resolved through the catalog
resolver. If the catalog does not have a mapping for the URL, the file is used directly from its remote location.
You can use the following browsing buttons to enter values in the XML URL and XSL URL fields:
Insert Editor Variables
Opens a pop-up menu allowing you to introduce special Oxygen XML Editor editor variables or custom editor
variables in the XML URL field.
Browse for local file
Opens a local file browser dialog box allowing you to select a local file.
Browse for remote file
Opens an URL browser dialog box allowing you to select a remote file.
Browse for archived file
Opens a zip archive browser dialog box allowing you to select a file from a zip archive.
Browse Data Source Explorer
Opens the Data Source Explorer window.
Search for file
Allows you to find a file in the current project.
Open in editor
Opens the file in an editor panel with the path that is specified in the XML URL text box.
The rest of the options available in the XSLT tab allow you to further customize the transformation scenario:
•
•
Use "xml-stylesheet" declaration - Use the stylesheet declared with an xml-stylesheet declaration instead
of the stylesheet specified in the XSL URL field. By default, this checkbox is not selected and the transformation
applies the XSLT stylesheet that is specified in the XSL URL field. If it is checked, the scenario applies the stylesheet
specified explicitly in the XML document with the xml-stylesheet processing instruction.
Transformer - This drop-down menu presents all the transformation engines available to Oxygen XML Editor for
performing a transformation. These are the built-in engines and the external engines defined in the Custom Engines
preferences page. The engine you choose in this dialog box is used as the default transformation engine. Also, if an
XSLT or XQuery document does not have an associated validation scenario, this transformation engine is used in
the validation process (if it provides validation support).