cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien SACARD <sebastien.sac...@kelkoo.com>
Subject Re: template possibilities
Date Wed, 29 May 2002 12:30:41 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Well, it's look exactly what I'm looking for. I'll have to dig further in
the cinclude possibilies, which I did not know about.<br>
Thanks !!<br>
<br>
TREGAN Fabien wrote:<br>
<blockquote type="cite"
 cite="mid3997D874A598D51190A70002A56BC995023685CD@TOCOMEXC17">
  <pre wrap="">For this problem, here is my solution :<br>-my "frame" pipeline
generate from a template<br>-it's then cinclude transformed<br>-optionaly i18n
transformed<br>-HTML serialized<br><br>Each include refer to a cocoon pipeline
that handle each of my elements.<br>Thoose pipeline also have a view that allow them
to be displayed in a blank<br>html page (for xsl designers)<br><br>The template
looks like :<br><br>&lt;html xmlns:cinclude=<a class="moz-txt-link-rfc2396E"
href="http://apache.org/cocoon/include/1.0">"http://apache.org/cocoon/include/1.0"</a>&gt;<br>
&lt;head&gt;<br>		&lt;title&gt;<br>			SDNGUI Template Demo<br>
	&lt;/title&gt;<br>		&lt;cinclude:include src="resources/Imports.xml" /&gt;<br>
&lt;/head&gt;<br>	&lt;body&gt;<br>		&lt;table&gt;<br>
		&lt;tr&gt;<br>				&lt;td&gt;&lt;cinclude:include src="cocoon:/leftmenu"<br>/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;cinclude:include
src="cocoon:/main" /&gt;&lt;/td&gt;<br>&lt;/tr&gt;<br>		&lt;/table&gt;<br>
&lt;/body&gt;<br
>&lt;/html&gt;<br>	<br><br>By the way if you have any cons /
other idea, let me know.<br><br>fabien.<br><br></pre>
  <blockquote type="cite">
    <pre wrap="">-----Message d'origine-----<br>De: Sebastien SACARD [<a class="moz-txt-link-freetext"
href="mailto:sebastien.sacard@kelkoo.com">mailto:sebastien.sacard@kelkoo.com</a>]<br>Date:
mercredi 29 mai 2002 14:05<br>&Agrave;: <a class="moz-txt-link-abbreviated" href="mailto:cocoon-users@xml.apache.org">cocoon-users@xml.apache.org</a><br>Objet:
template possibilities<br><br><br>Hi,<br><br>I want to use cocoon
to generate my website static pages and I know it <br>can do it perfectly; but I did
not find a way to do this simple thing :<br>- my pages are built from different modules
and a gobal template.<br>- Each module is composed of one XML document and a XSLT file,
and I <br>want to concatenate (merge would be the better word) in the global <br>template.
But I don't want to concatenate the files one after <br>the other <br>: I want
to be able to choose where each module will be <br>inserted in the <br>global
template.<br>I know I can get the modules XML from the global
 template, using the <br>select="document('module.xml')" method, but I don't want to
<br>have to XST <br>code for the modules inside the template, and I don't want
to have an <br>include of the module XSLT files either...<br><br>In other
word, can cocoon concatenate XSLT results at given places, or <br>in a given order rather
than sequentially ?<br>I'm sure this is possible but can someone tell me how ?<br><br><br>S&eacute;bastien
Sacard<br><br><br><br>---------------------------------------------------------------------<br>Please
check that your question has not already been answered in the<br>FAQ before posting.
<a class="moz-txt-link-rfc2396E" href="http://xml.apache.org/cocoon/faqs.html">&lt;http://xml.apache.org/cocoon/faqs.html&gt;</a><br><br>To
unsubscribe, e-mail: <a class="moz-txt-link-rfc2396E" href="mailto:cocoon-users-unsubscribe@xml.apache.org">&lt;cocoon-users-unsubscribe@xml.apache.org&gt;</a><br>For
additional commands, e-mail: <a class="moz-txt-link-rfc2396E"
 href="mailto:cocoon-users-help@xml.apache.org">&lt;cocoon-users-help@xml.apache.org&gt;</a><br><br></pre>
  </blockquote>
  <pre wrap=""><!----><br>---------------------------------------------------------------------<br>Please
check that your question has not already been answered in the<br>FAQ before posting.
<a class="moz-txt-link-rfc2396E" href="http://xml.apache.org/cocoon/faqs.html">&lt;http://xml.apache.org/cocoon/faqs.html&gt;</a><br><br>To
unsubscribe, e-mail: <a class="moz-txt-link-rfc2396E" href="mailto:cocoon-users-unsubscribe@xml.apache.org">&lt;cocoon-users-unsubscribe@xml.apache.org&gt;</a><br>For
additional commands, e-mail: <a class="moz-txt-link-rfc2396E" href="mailto:cocoon-users-help@xml.apache.org">&lt;cocoon-users-help@xml.apache.org&gt;</a><br><br><br></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">-- <br>#############################################################<br>S&eacute;bastien
Sacard<br>Kelkoo.com - R&amp;D team<br>Phone: +(33) 4 76 29 73 51<br>Email:
<a class="moz-txt-link-abbreviated" href="mailto:Sebastien.Sacard@kelkoo.com">Sebastien.Sacard@kelkoo.com</a><br>Aim
: KelkooXIII<br>#############################################################<br></pre>
<br>
</body>
</html>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message