Organising your XSLT
Organising XSLT make it both simple, easy to maintain and shared can be difficult. It also depends largely on the output being generated and the requirements of your application.
Standard files layout
We recommend following the standard file layout to help organize your files by convention. When using the standard mapping, Berlioz will look for the principal XSLT module in
Here is the recommended organisation for XSLT modules.
|This folder should contain all the XSLT modules which are common to many XSLT modules including
|This folder should contain all the XSLT modules provided as external libraries (e.g. PSML to HTML)
|Folder containing all the XSLT modules specific to a group of services
|XSLT module containing templates and functions for a single service
|Principal XSLT module for a group of services
Principal XSLT module
The principal XSLT module should be a simple as possible, it should generally consist of:
- The list of XSLT modules to import or include in the following order
- Service specific
- The template matching the root node:
Created on , last edited on