The idea:

to have specific.xsl and generic.xsl file. 
specific.xsl has templates to convert XML into xsl:fo file using templates
from generic.xsl

example:
<rowset>
  <row>
    <col1>bla-bla</col1>
    <col2>di-da</col2>
  </row>
</rowset>

this will be converted into <fo:table> with two columns and column names
"Column One" and "Column Two".

I want this to be done from specific.xsl by calling a template from
generic.xsl. So, the template from generic.xsl will somehow get the column
names and maybe widths. Then it will create <fo:table> element with cells,
headers etc.
So, to change the style of tables, like colors etc., I'll only need to
change one file generic.xsl, not every specific.xsl


Any ideas how to this in the best manner?
I see the generic.xsl with templates which have sort of call-backs to
specific.xsl.

thanx,
Argyn

Reply via email to