cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Rossel <olivier.ros...@anyware-tech.com>
Subject Re: HTTP 404 error and sitemap setting
Date Fri, 08 Mar 2002 17:31:01 GMT
Mamadou Bobo Sylla wrote:

>I have cleared the sub-directories of work, started
>Tomcat but the error persists.
>
>By the way both voice-email.xml and
>voice-exam-result.xml receive parameters.
>
>Any other suggestion?
>
I wonder if the serverpages generator accepts XML files as input.
Isn't it supposed to be XSP files (with xsp:page as the root element and 
the xsp namespace declared)?
Could the file generator be better?

What you can do also is to make the same pipeline for both files.
Here is the syntax:

<map:match pattern="sic/xsp/*.xml">
 <map:generate type="serverpages"
               src="sic/xsp/{1}.xml"/>
 <map:transform type="xslt"
                src="sic/{1}.xsl"/>
 <map:serialize type="xml"/>
</map:match>

Try that with the "serverpages" generator and the "file" generator.



---------------------------------------------------------------------
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