XSL Template Functionality
In Part 1 of our short series, we discussed multiple templates that Oracle rarely uses, causing them to remain unknown to BI Publishers. Today we will be covering the topic of XSL Templates, what they do, and how to use them correctly.
So what exactly are XSL Templates used for? XSL Templates serve the main purpose of transforming an existing XML in to another XML. Sound strange? Well, the XML generated by JD Edwards when you add a report definition is based on the layout of the report, which works if you want to use tags similar to an RFT template to produce a better looking PDF.
But what if you need to send this somewhere that requires a specific XML format, like a bank or supplier? You can achieve this by creating a custom report, or by cloning an existing one. Once you have done this, you can add the code to create the file in any format you choose. If you have all the information you need in a report, all you need to do is re-arrange it into the desired format in this template. Let’s take a look at a sample.
Unlike E-text Templates, you will not find a sample of this in the BI Publisher desktop installation folder. We will reference a localization XSL template for SEPA payments as a sample. See below: