Re: [docbook-apps] Combining para role templates

2018-10-21 Thread Bob Stayton
Hi Peter, As you discovered, XSLT selects only one template for each match, even when more than one applies.  You'll need to write a more general template to handle all your permutations, something like this:         red           xx-small           Bob Stayton Sagehill

Re: [docbook-apps] Combining para role templates

2018-10-12 Thread Dave Pawson
You might try attribute-sets? they may do what you want? Combine them as necessary at the xml to fo stage? HTH On Fri, 12 Oct 2018 at 15:16, Peter Fleck wrote: > > I have a number of templates that add some formatting to xsl:fo, they > are in the format of: > > > > > >

Re: [docbook-apps] Combining para role templates

2018-10-12 Thread Thomas Schraitle
Hi Peter, Am Freitag, 12. Oktober 2018, 16:16:13 CEST schrieb Peter Fleck: > I have a number of templates that add some formatting to xsl:fo, they > are in the format of: > > > > > > > > > > > > > > I want to be able to combine these

[docbook-apps] Combining para role templates

2018-10-12 Thread Peter Fleck
I have a number of templates that add some formatting to xsl:fo, they are in the format of: I want to be able to combine these various templates, something like this: .. But only the last "role" in the list gets applied to the output. Is this