24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The following actions are available for managing parameters:Transforming Documents | 297• New - Adds a new parameter to the list.• Edit - Edits the value of the selected parameter.• Unset - Resets the selected parameter to its default value. Available only for parameters with set values.• Delete - Removes the selected parameter from the list. It is enabled only for parameters added to the list with theNew button.The editor variables displayed at the bottom of the dialog (${frameworks}, ${home}, ${cfd}, etc) can be used in thevalues of the parameters to make them independent of the location of the XSLT stylesheet or the <strong>XML</strong> document. Toprompt for values at runtime, use the ask('user-message', param-type, 'default-value' ?) editor variable.Additional XSLT StylesheetsThe list of additional XSLT stylesheets can be edited in the dialog opened by the button Additional XSLT Stylesheetsfrom the Configure Transformation dialog.• Add - Adds a stylesheet in the Additional XSLT stylesheets list using a file browser dialog. You can type an editorvariable in the file name field of the browser dialog. The name of the stylesheet will be added in the list after thecurrent selection.• Remove - Deletes the selected stylesheet from the Additional XSLT stylesheets list.• Up - Moves the selected stylesheet up in the list.• Down - Moves the selected stylesheet down in the list.The path specified in the URL text field can include special <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> editor variables.XSLT/XQuery ExtensionsThe Libraries dialog is used to specify the jars and classes containing extension functions called from the XSLT/XQueryfile of the current transformation scenario.An extension function called from the XSLT or XQuery file of the current transformation scenario will be searched inthe specified extensions in the order of the list displayed in the dialog. For changing the order of the items the user mustselect the item that must be moved to other position in the list and press the up and down buttons.Duplicate a Transformation ScenarioUse the following procedure to create a transformation scenario.1. Go to menu <strong>XML</strong> > Configure Transformation Scenario (Alt+Shift+T C) ( (Cmd+Alt+T C on Mac OS)) toopen the Configure Transformation dialog.2. Click the Duplicate Scenario button of the dialog to create a copy of the current scenario.3. Click in the Name field and type a new name.a) You can choose to save the scenarios at project level by setting the Project Scenarios setting.4. Click OK or Transform Now to save the scenario.Ant TransformationsAn Ant scenario is associated usually with an Ant build script. <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> runs an Ant scenario asan external process that executes the Ant build script with the built-in Ant distribution (Apache Ant version 1.8.2) thatcomes with the application or optionally with a custom Ant distribution configured in the scenario.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!