[xsl] Managing XSLTS for XSLFO - Shared templates and attribute sets

Subject: [xsl] Managing XSLTS for XSLFO - Shared templates and attribute sets
From: Kamal <kbhatt@xxxxxxxxx>
Date: Thu, 27 Mar 2008 22:31:12 +1100
Hi,
I have a number of XSLTs for our clients that produce XSL FO. Right now, I make extensive use of attribute sets. I basically setup all my attribute sets at the start of the file and call them as I need them. This works great, just as long as you don't want to share templates. Unfortunately, I am going to need to share some of those templates in the future, but the attributes used may be different (obviously, these attributes are defining styling).


Any thoughts as to how I can have my cake and eat it too?

Thanks.

Current Thread