Tuesday 18 June 2019

Designing XSL Sub Templates

Why?

1. Allow Reusable advance functionality for RTF templates.

  1. Transform Data structure for section of report
  2. create a stylesheet to manage a complex layout


What?

Its a xsl file, which consists of

  • one or more <xsl:template> definitions, each containing
    • block of formatting
    • block of processing commands
How to Use?
Once its developed as subtemplate, its called from main rtf file for processing and formatting requirements.


High Level Development Process
1. xsl template contains serveral <xsl: template> definitions, these definitions contains rules to apply, when a specified node is matched.
2. main template import the xsl template, and also command to apply
3. upload the main template to report definition, and subtemplate to catalog.




1 comment: