Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 22300 invoked by uid 500); 1 Jan 2003 19:39:06 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 22289 invoked from network); 1 Jan 2003 19:39:05 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Joerg Pietschmann To: cocoon-users@xml.apache.org Subject: Re: Can I use map:aggregate for XSL files? Date: Wed, 1 Jan 2003 20:35:25 +0100 X-Mailer: KMail [version 1.3.1] References: <013201c2b1c3$53daea30$6401a8c0@RUMPROAST> In-Reply-To: <013201c2b1c3$53daea30$6401a8c0@RUMPROAST> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301012039718.SM00297@there> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wednesday 01 January 2003 19:26, you wrote: > I have a rather large application that has a huge XSL file that I would > like to break down into smaller files. Is it possible to use aggregate > to do this? The problem is establishing the attributes of the > xsl:stylesheet element in the root; I don't see a way to do this > with map:aggregate. You should try xsl:include and xsl:import first. See http://www.w3.org/TR/xslt#include and http://www.w3.org/TR/xslt#import If you really want aggregate style sheets, you'll have to use an internal pipeline and a cocoon: redirection, something like with the transformation in strip-dummy containing roughly If you want to make more thorough manipulations with the aggregated XSL, look at xsl:namespace-alias. J.Pietschmann --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: