cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Massimiliani" <andrea_massimili...@hotmail.com>
Subject Re: XSP help!
Date Fri, 09 Jul 2004 16:44:51 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>Thanks for your aid!!!<IMG height=19 src="http://graphics.hotmail.com/i.p.emsmiled.gif"
width=19></P>
<P>Now work!</P>
<P>The problem was the number 1!!<BR><BR></P></DIV>
<DIV></DIV>&gt;From: Ugo Cei &lt;u.cei@cbim.it&gt; 
<DIV></DIV>&gt;Reply-To: users@cocoon.apache.org 
<DIV></DIV>&gt;To: users@cocoon.apache.org 
<DIV></DIV>&gt;Subject: Re: XSP help! 
<DIV></DIV>&gt;Date: Fri, 09 Jul 2004 18:26:04 +0200 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Andrea Massimiliani wrote: 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:match pattern="*.html"&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:generate src="{1}.xml"/&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:transform src="saluto.xsl"/&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;map:serialize type="html"/&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/map:match&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I see two problems here: 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;1. You are using the default generator (usually this is the

<DIV></DIV>&gt;FileGenerator). If you want to have your XSP pages compiled,
you 
<DIV></DIV>&gt;should use the ServerPagesGenerator: 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;&nbsp;&nbsp; &lt;map:generate type="serverpages"
src="{1}.xml"/&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;2. You are referring to a stylesheet called "saluto.xsl" but
your 
<DIV></DIV>&gt;previous example used a name of "greeting.xsl". 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Assuming number 2 is due to a typo, the source of the problem
is 
<DIV></DIV>&gt;probably number 1. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; Ugo 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;---------------------------------------------------------------------

<DIV></DIV>&gt;To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org

<DIV></DIV>&gt;For additional commands, e-mail: users-help@cocoon.apache.org

<DIV></DIV>&gt; 
<DIV></DIV></div><br clear=all><hr>Scarica gratuitamente  <a
href="http://g.msn.com/8HMAITIT/2728??PS=47575">MSN Toolbar</a> !</html>

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


Mime
View raw message