How to Format XSLT with XML File


Opening XSL Stylesheet - XML Document Pair

The first operation one must perform for formatting XSLT with XML file is to open an XML document and the corresponding style sheet. For opening style sheet choose "Open Style Sheet" item in "File" menu as shown below:

Alternatively, you can press the corresponding buttons on the toolbar or at the bottom of the main window:

The standard "Open stylesheet" dialog window allows you to choose the desired style sheet. Besides, you may input the path to the local stylesheet file or URL into the "Stylesheet" edit box in the bottom of the window. In order to format it you should also open the source XML document. See Open XSL-FO document. Here is the resulting view of the opened XML document - XSL stylesheet pair:

If the opened document and style sheet comply with XSLT and XML syntax you will be able to format it.


Formatting XSLT with XML file

Formatting XSLT with XML file means saving it as a specified PDF file. To perform this operation press "Format" button at the lower-right window corner or use (Format) toolbar button. A dialog will appear asking you to enter name and location for the newly created PDF file:



Pressing "Save" will start process of formatting initial file into PDF format.




Send comments on this topic.

© Altsoft Company. All rights reserved.