Download "user manual"

Transcript
Oxygen XML Editor | Transforming Documents | 793
Remove
Deletes the selected stylesheet from the Additional XSLT stylesheets list.
Open
Opens the selected stylesheet in a separate view.
Up
Moves the selected stylesheet up in the list.
Down
Moves the selected stylesheet down in the list.
XML Transformation with XQuery
Use the XML transformation with XQuery scenario to apply a transformation in which an XQuery file queries an
XML file for the output results.
To create an XML transformation with XQuery scenario, use one of the following methods:
•
Go to Window > Show View and select
Transformation Scenarios to display this view. Click the New button
and select XML transformation with XQuery.
•
Use the
Configure Transformation Scenario(s) (Ctrl Shift C (Meta Shift C on OS X)) action from the
Transformation toolbar or the Document > Transformation menu. Then click the New button and select XML
transformation with XQuery.
•
Use the
Apply Transformation Scenario(s) (Ctrl Shift T (Meta Shift T on OS X)) action from the
Transformation toolbar or the Document > Transformation menu. Then click the New button and select XML
transformation with XQuery.
Note: If a scenario is already associated with the edited document, selecting
Apply Transformation
Scenario(s) runs the associated scenario automatically. You can check whether transformation scenarios are
associated with the edited document by hovering your cursor over the
button.
Apply Transformation Scenario
All three methods open the New Scenario dialog box. This dialog box allows you to configure the options that control
the transformation.
The upper part of the dialog box contains the Name field and Storage options:
•
•
Global Options - The scenario is saved in the global options that are stored in the user home directory and is not
accessible to other users.
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:
•
•
•
XQuery.
FO Processor.
Output.
The XQuery Tab
The XQuery 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.