cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwin <>
Subject Re: Multiple independent XSLT transforms applied to one XML file.
Date Tue, 30 Apr 2002 18:58:35 GMT
On Tue, 30 Apr 2002, Fabricio Chalub wrote:

> Hello, I suppose this is the kind of email that possibly reflects a deep
> misunderstanding of the basic principles on which Cocoon relies. If that is
> the case, just warn me. ;)
> The simple question is:
> Using Cocoon (possibly through the sitemap), how do I process a XML file
> that combines two different DTDs with two *separate* XSLT transforms?  Or
> even using a single combined DTD, in which but a part of it goes to one XSLT
> file and part is processed by another XSLT file.
> ---

Have you considered using xsl:include or xsl:import in your XSLT

You could make one new xslt stylesheet and include/import the two other
stylesheets and refer to this new stylesheet in the sitemap. If needed,
you could override some templates in the new stylesheet.

Have a look at for more details.

Some other links:

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message