Olivier, what I do is using a series of XSL tranformations, with the last one being to HTML.
Hence, I use XSL for both login and presentation. Like in: <map:transform src="stylesheets/map/map-action-zoom-admarea.xsl"> <map:parameter name="theme-id" value="0"/> <map:parameter name="name-col" value="NOME_COM"/> </map:transform> <map:transform type="aims"> <map:parameter name="mapserver" value="localhost"/> <map:parameter name="port" value="5300"/> </map:transform> <map:transform src="stylesheets/map/map-action-zoom-admarea-html.xsl"/> <map:serialize type="html"/> Moreover, I use XSL templates libraries (via <xsl:include> element) Best reagrds, --------------------------------------------- Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Olivier Rossel [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 18, 2002 4:48 PM > To: [EMAIL PROTECTED] > Subject: Design advices for XSLT > > > I am looking for pieces of advice about writing XSLT in the most > efficient and (hopefully :-) reusable way. > I found several advices in the book of Michael Kay about XSLT, and am > asking to Cocoon > users if they can point me to informations about clean design for XSLT. > > For example, one very important thing I am realizing is the good habit > to separate templates > of pure rendering (including for example the HTML tags), and control > templates (when you make > a lot of <xsl:choose> and <xsl:if>). May be, it can be seen as a kind of > MVC for XSLT, I am > not expert at that... > > Any piece of advice is welcome. > > > --------------------------------------------------------------------- > 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]> > --------------------------------------------------------------------- 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]>