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:04:58 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>I don't see the message "HELLO WORLD" in file greeting.html </P>
<P>The page is white!</P>
<P>nothing error!<BR><BR></P></DIV>
<DIV></DIV>&gt;From: "Carl-Otto Kjellkvist" &lt;ckjfr99@student.vxu.se&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 17:59:09 +0100 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;What is the error message? 
<DIV></DIV>&gt;Your xsp-file must have the ending with *.xsp not *.xml 
<DIV></DIV>&gt;How do your sitemap look like? 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Regards 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;c-o 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;On Fri, 09 Jul 2004 17:48:04 +0200, Andrea Massimiliani&nbsp;&nbsp;

<DIV></DIV>&gt;&lt;andrea_massimiliani@hotmail.com&gt; wrote: 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;&gt;Hi, 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;I've deployed cocoon 2.1.5. 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;I've copyed from site&nbsp;&nbsp; 
<DIV></DIV>&gt;&gt;http://cocoon.apache.org/2.0/userdocs/xsp/logicsheet.html

<DIV></DIV>&gt;&gt;the example: 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;greeting.xsl 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&lt;?xml version="1.0"?&gt; 
<DIV></DIV>&gt;&gt;&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&nbsp;&nbsp;

<DIV></DIV>&gt;&gt;version="1.0"&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&lt;xsl:template match="/"&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp; &lt;html&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;body&gt;

<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;h1&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xsl:value-of select="greeting"/&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/h1&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/body&gt;

<DIV></DIV>&gt;&gt;&nbsp;&nbsp; &lt;/html&gt; 
<DIV></DIV>&gt;&gt;&lt;/xsl:template&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&lt;/xsl:stylesheet&gt; 
<DIV></DIV>&gt;&gt;_____________________________________________________________________________

<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&nbsp; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;greeting2.xml 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&lt;?xml version="1.0"?&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&lt;xsp:page xmlns:xsp="http://apache.org/xsp"&gt;

<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp; &lt;xsp:logic&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; // this could
be arbitrarily complex Java code, JDBC queries, 
<DIV></DIV>&gt;&gt;etc. 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; String msg
= "Hello, world!"; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp; &lt;/xsp:logic&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp; &lt;greeting&gt; 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsp:expr&gt;msg&lt;/xsp:expr&gt;

<DIV></DIV>&gt;&gt;&nbsp;&nbsp; &lt;/greeting&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;&lt;/xsp:page&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;But don't work! 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;Who can help me? 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt;&gt;Ricerche online piĆ¹ semplici e veloci con MSN Toolbar
!&nbsp;&nbsp; 
<DIV></DIV>&gt;&gt;---------------------------------------------------------------------

<DIV></DIV>&gt;&gt;To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For&nbsp;&nbsp; 
<DIV></DIV>&gt;&gt;additional 
<DIV></DIV>&gt;&gt;commands, e-mail: users-help@cocoon.apache.org 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;-- 
<DIV></DIV>&gt;Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

<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>MSN Extra Storage: 100MB
di spazio per la tua posta! <a href="http://g.msn.com/8HMAITIT/2737??PS=47575">Clicca
qui!</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