Re: [xsl] Including .XSL files into a master .XSL template

Subject: Re: [xsl] Including .XSL files into a master .XSL template
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Fri, 04 Jun 2010 00:15:52 +0100
I'm sorry, but your question is very unclear. It reads to me as if you are using the word "template" in some private sense rather than in the XSLT sense. You need to explain it better - preferably by showing us some code.

Michael Kay

On 03/06/2010 20:57, James Ward wrote:
I am very new to .XSL and I am trying to understand how to include several = external .XSL files into a master .XSL template.

The issue I am trying to solve is; I have 15+ templates and ~ 10 unique sec= tions included in each template. A section is basically a data driven table=
  with a table header.   Now, each template can have any combination of the =
these sections.  As you can imagine, maintaining these files can be very te=
dious.  One change means I have to change 1 - 15 files.   Any advice on the=
  best way to handle this would be greatly appreciated.

My thoughts were

Master Template 1 - font style 1
                 Section 1
                 Section 2
                 Section 3

Master Template 2 - font style 2
                 Section 1
                 Section 3
                 Section 4
                 Section 6

Master Template 3 - font style 1
                 Section 3
                 Section 4
                 Section 5

Current Thread