cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beat De Martin" <hot_b...@hotmail.com>
Subject Re: Separation of Logic and Content
Date Thu, 01 Jan 1970 00:00:00 GMT
<html><div style='background-color:'><DIV>
<P>Hello Liam</P>
<P>I'm using Cocoon2. I don't see where your logicsheet (XSL) is ?</P>
<P>It's like the greeting3 sample from the Cocoon2 homepage.</P>
<P>Cheers</P>
<P>Beat<BR><BR></P></DIV>Hello Lia, 
<DIV></DIV>
<DIV></DIV>&gt;From: "Liam MacQuarrie Morley" <LMORLEY@WPI.EDU>
<DIV></DIV>&gt;Reply-To: cocoon-users@xml.apache.org 
<DIV></DIV>&gt;To: <COCOON-USERS@XML.APACHE.ORG>
<DIV></DIV>&gt;Subject: Re: Separation of Logic and Content 
<DIV></DIV>&gt;Date: Wed, 29 Aug 2001 18:09:02 -0400 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;It would be nice if you were to mention whether you are using
Cocoon 1 or 
<DIV></DIV>&gt;Cocoon 2, as I'm not sure if there are differences. The following
is what I 
<DIV></DIV>&gt;do for Cocoon 2 to seperate the XSL from the XML in the stylesheet
(which is 
<DIV></DIV>&gt;fairly common in the examples): 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; <?xml:namespace prefix = map /><map:match pattern="*.html">
<DIV></DIV>&gt; <map:generate src="my-page/{1}.xml"></map:generate>
<DIV></DIV>&gt; <map:transform type="my-transformer"></map:transform>
<DIV></DIV>&gt; <map:transform src="my-style/my-stylesheet.xsl" type="xslt"></map:transform>
<DIV></DIV>&gt; <map:serialize></map:serialize>
<DIV></DIV>&gt; </map:match>
<DIV></DIV>&gt; 
<DIV></DIV>&gt;As you can see, the generate src specifies the XML, and the
transform type 
<DIV></DIV>&gt;specifies the XSL, both in the stylesheet. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Liam Morley 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;----- Original Message ----- 
<DIV></DIV>&gt;From: Beat De Martin 
<DIV></DIV>&gt;To: cocoon-users@xml.apache.org 
<DIV></DIV>&gt;Sent: Wednesday, August 29, 2001 2:14 PM 
<DIV></DIV>&gt;Subject: Separation of Logic and Content 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hello 
<DIV></DIV>&gt;If I want to separate logic (XSL) and content (XML) how will
the sitemap 
<DIV></DIV>&gt;look like ? 
<DIV></DIV>&gt;I know I could handle the logicsheet like a taglib and make
a new entry in 
<DIV></DIV>&gt;the cocoon.xconf. Is there another way ? 
<DIV></DIV>&gt;Thanks 
<DIV></DIV>&gt;Beat 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Get your FREE download of MSN Explorer at http://explorer.msn.com

<DIV></DIV>&gt;---------------------------------------------------------------------
Please 
<DIV></DIV>&gt;check that your question has not already been answered in the
FAQ before 
<DIV></DIV>&gt;posting. To unsubscribe, e-mail: For additional commands, e-mail:

<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;---------------------------------------------------------------------

<DIV></DIV>&gt;Please check that your question has not already been answered
in the 
<DIV></DIV>&gt;FAQ before posting. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;To unsubscribe, e-mail: <COCOON-USERS-UNSUBSCRIBE@XML.APACHE.ORG>
<DIV></DIV>&gt;For additional commands, e-mail: <COCOON-USERS-HELP@XML.APACHE.ORG>
<DIV></DIV>&gt; 
<DIV></DIV></div><br clear=all><hr>Get your FREE download of
MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></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