cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen ter Voorde" <j.tervoo...@home.nl>
Subject Re: Newbie Please Help
Date Mon, 22 Apr 2002 06:59:52 GMT
Probably a typo but:

   </map:pipeline>
     </map:pipelines>
        <map:match pattern="test/*.pdf">

Isn't correct

----- Original Message -----
From: "Hahn Kurt (CHA)" <kurt.hahn@etat.ge.ch>
To: <cocoon-users@xml.apache.org>
Sent: Monday, April 22, 2002 8:38 AM
Subject: RE: Newbie Please Help


Hi,
if you have a proper and standard installation (Cocoon is already working,
isn't it?), you should be able to use this example which will probably
answer some of your questions:
http://www.cocooncenter.org/cc/documents/resources/hot-plugging/index.html .

-----Message d'origine-----
De: Patrick Russell [mailto:pqrussell@comcast.net]
Date: lundi, 22. avril 2002 04:01
À: cocoon-users@xml.apache.org
Objet: Newbie Please Help


I am new to Cocoon and I am trying to transform a simple xml document into a
pdf format.  Although its seems like I have Cocoon properly installed (JDK
1.4, TOMCAT 4.0.3, Cocoon 2.0.1), I cannot seem to figure were to install my
files to serve my pages up correctly.  I keep on getting a resource not
found error.  I performed the following steps:

1. Created the following directories under the cocoon directory within the
TOMCAT_HOME/webapps/ directory:
   test/
        content/
   resume.xml
   resume.dtd
        styles/
               resume.xsl
        sitemap.xmap

2. I copied the sitemap.xmap from the samples directory, deleted the
pipelines section and then added my own as follows

   </map:pipeline>
     </map:pipelines>
        <map:match pattern="test/*.pdf">
          <map:generate src="content/pqr_resume.xml"/>
          <map:transform src="style/pqr_resume.xsl"/>
          <map:serialize type="fo2pdf"/>
        </map:match>
      </map:pipeline>
    </map:pipelines>

3. I even tried to add the map to the samples hello-world example, adjusted
the map to match the others in the example, and
   moved my files corresponding locations as the others in the example, but
I still get the same error.

Any help you could provide would be greatly appreciated!



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

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




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