You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Da...@lotus.com on 2000/08/16 15:59:47 UTC

Re: Combining Stylesheets

Luke Reeves asks:
>Does anyone know of a way to combine multiple stylesheets
>(XSL files) into a single sheet?

How about composing a master stylesheet that does an
xsl:include of each of the others?
.................David Marston


Re: Combining Stylesheets

Posted by Alistair Hopkins <al...@berthengron.co.uk>.
And if they have to end up in a single document in the filesytem (probably 
a bad thing), write an xsl stylesheet that simply outputs the entire master 
stylesheet and use command line xalan to generate the in-line version.

<xsl:template match="/">
         <xsl:copy select="."/>
</xsl:template>

should work, I haven't checked it.

At 09:59 AM 8/16/00 -0400, you wrote:

>Luke Reeves asks:
> >Does anyone know of a way to combine multiple stylesheets
> >(XSL files) into a single sheet?
>
>How about composing a master stylesheet that does an
>xsl:include of each of the others?
>.................David Marston