| Transforming Documents / Transformation Scenario | |
Oxygen XML Developer plugin comes with
preconfigured built-in transformation scenarios used for usual transformations. To obtain the
output simply one of the built-in scenarios with the currently edited document and click the
Apply Transformation
Scenario(s) button.
You can use the
Apply
Transformation Scenario(s) button even if the document you are editing is not
associated with a transformation scenario.
In case the document contains an xml-stylesheet processing instruction referring to an XSLT stylesheet (commonly used to display the document in web browsers), Oxygen XML Developer plugin prompts you to associate the document with a built-in transformation scenario.
The default transformation scenario is suggested based on the processing instruction from the edited document. The XSL URL field of the default transformation scenario contains the URL from the href attribute of the processing instruction. The Use xml-stylesheet declaration check-box of the scenario is selected by default. Saxon is used as transformation engine and no FO processing is performed. The result of the transformation is store in a file with the same URL as the edited document, but the extension is changed to html. The name and path are preserved because the output file name is specified with the help of two editor variables: ${cfd} and ${cfn}.