cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TREGAN Fabien <>
Subject RE: template possibilities
Date Wed, 29 May 2002 12:19:54 GMT
For this problem, here is my solution :
-my "frame" pipeline generate from a template
-it's then cinclude transformed
-optionaly i18n transformed
-HTML serialized

Each include refer to a cocoon pipeline that handle each of my elements.
Thoose pipeline also have a view that allow them to be displayed in a blank
html page (for xsl designers)

The template looks like :

<html xmlns:cinclude="">
			SDNGUI Template Demo
		<cinclude:include src="resources/Imports.xml" />
				<td><cinclude:include src="cocoon:/leftmenu"
<td><cinclude:include src="cocoon:/main" /></td>

By the way if you have any cons / other idea, let me know.


>-----Message d'origine-----
>De: Sebastien SACARD []
>Date: mercredi 29 mai 2002 14:05
>Objet: template possibilities
>I want to use cocoon to generate my website static pages and I know it 
>can do it perfectly; but I did not find a way to do this simple thing :
>- my pages are built from different modules and a gobal template.
>- Each module is composed of one XML document and a XSLT file, and I 
>want to concatenate (merge would be the better word) in the global 
>template. But I don't want to concatenate the files one after 
>the other 
>: I want to be able to choose where each module will be 
>inserted in the 
>global template.
>I know I can get the modules XML from the global template, using the 
>select="document('module.xml')" method, but I don't want to 
>have to XST 
>code for the modules inside the template, and I don't want to have an 
>include of the module XSLT files either...
>In other word, can cocoon concatenate XSLT results at given places, or 
>in a given order rather than sequentially ?
>I'm sure this is possible but can someone tell me how ?
>Sébastien Sacard
>Please check that your question has not already been answered in the
>FAQ before posting. <>
>To unsubscribe, e-mail: <>
>For additional commands, e-mail: <>

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