
This tutorial shows you how to load a simple pipeline into Packaged Press Desktop Edition and evaluate the pipeline to transform an XML document using an XSL stylesheet. The result of evaluating the pipeline will be a Web page (a HTML document).
Download Packaged Press Desktop Edition for your platform
Download the sample files to a folder on your computer, either in a Zip file or individually:
XProc pipeline document: tute-1.xpl
Source XML document: tute-1.xml
XSL stylesheet: tute-1.xsl
|
Start the Packaged Press Desktop Edition application, by double-clicking on its icon. |
|
|
Load the pipeline document that you downloaded. Select the FileāOpen menu item. |
|
|
In the dialog box, navigate to the folder that you saved your pipeline document into and select the file |
|
|
The pipeline will now be loaded. |
|
|
Start the pipeline by pressing the power button. |
|
|
The first step requires a "source" document. In the dialog box select the |
|
|
The pipeline also requires a "stylesheet" document. In the next dialog box select the |
|
|
Now the XSLT step will become active and perform the transformation. When it finishes (it should do that almost immediately) a dialog box will appear so that you can save the result of the transformation. Type the filename |
|
|
Now you have a Web page in the folder along with your pipeline document. Try double-clicking it to open the Web page in your Web browser. |
|
|
Congratulations! You have completed the tutorial. You have successfully loaded an XProc pipeline document, performed an XSL transformation upon an XML document using an XSL stylesheet to produce a HTML document and loaded that HTML document into a Web browser. |
|