XProc
Transformations with XProc
Background
XProc is a language in XML and used in order to process XML data in pipelines.
With XProc complete workflows can be defined which are processed in individual steps.
It is possible to:
- read in documents individually or bundled via ports,
- pass on parameters to stylesheets,
- which are used to transform the documents,
- pass on the processed documents to the following steps
- and to let them validate against a Schema file
Further links on the subject XProc:
data2type: XML technologies → XProc
data2type: XML technologies → XProc → XProc reference
XProc.org: Overview
The embedded Calabash processor
In the background a processor for the XProc processing routines is called up.
antillesXML uses the Calabash processor by Norman Walsh.
Further links on the subject Calabash:
Norman Walsh: XML Calabash: an XProc implementation
Tab: Single
Transformations with XProc
Here you can see how to perform processing routines by using XProc.
Calling up the XProc Transformations window
- Select the XProc entry in the XSL menu.
→ The XProc window appears. - → The Single tab is selected by default with the first call.
Selection of the input document
As input document you need a XProc file which contains the required processing routines.
- Press the button.
→ The Open dialogue appears.
- Choose the path to the input document in your file system.
- Click Open.
Starting the transformation
Press the button.
→ The target document has been written to the location selected by you.
In addition, the result of the processing is shown in the Statistics window in the Results tab.
In case error messages occur during the processing, they are displayed in the Statistics window in the Log tab.