> -----Original Message----- > From: arj123 [mailto:[EMAIL PROTECTED] > Sent: woensdag 15 oktober 2008 8:28 > To: [email protected] > Subject: Generate HTML from 2 XMLs > > > Hi All, > 1. Is it possible to generate a HTML from more than one XML > files with > there own Xsl. > for example there are two xmls say X1.xml and X2.xml. > And two xsl files X1Xsl.xsl(for X1.xml) and X2Xsl.xsl(for X2.xml). > Now I want to generate one html out of these two xmls. > Is it possible. > The aggregation example in Cocoon aggregates the xmls first > and then apply xsl and html is generated. > But I want to use different xsl for different Xml. > If possible how can it be done?
In both pipelines you're aggregating you can add one or many XSL transformations. Then both XML parts are already transformed at the time you've aggregated them. > 2. Is it possible to save the output Html on disk? With the SourceWritingTransformer [1] it's possible. [1] http://cocoon.apache.org/2.1/userdocs/sourcewriting-transformer.html Jasha Joachimsthal [EMAIL PROTECTED] - [EMAIL PROTECTED] www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
