Yet another solution to your problem (the one I choosed, don't know if it's
the fastest, but it's re-usable) :

-1 pipe make menu.xml + menu.xsl -> xhtml
-2 another pipe make content.xml + menu.xsl -> xhtml
-3 another pipe make template.xml + cincludetransformer + html serializer ->
html

and, of course, the template.xml file contains an xhtml table and in the
cells of the table a <cinclude src="cocoon://xxx" /> tag.

Main advantage is that it's easy to reuse your menu.xsl in a new webapp
(each html component have its own separated entry DTD and XSL, you do not
have 1 big xsl that handles every "data types")

(btw, if someone have cons for this method, let me know)

fabien.

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to