Example: Running the Job

Top Previous Topic Next Topic  Print this topic

Having written the job, it's time to run it. Using the *.dal extension for the job file will have Render and URender.NET pick them up automatically.

 

C:\...\Bin>Render.exe C:\path\to\file.dal

 

Viewing The Result

 

The result of our previous example will be a 3 page PDF:

 

 

Notes:

The documents on page 2 and 3 respectively are generated from Input.PDF and InputXFD.xfd (the latter coupled with data.xml).
The first page includes the Table of Contents generated using job-info() and an XFD stylesheet.
The header is generated from the Overlay.fo file which is repeated over all pages except for the Table of Contents, which we explicitly set not to match.
If an output format is explicitly set, the parameter will override the value specified by xfj:output.

 

All the files referenced can be found in the XML Samples folder.