cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert_hitch...@cargill.com
Subject RE: Sample Sitemap.xmap file
Date Thu, 10 Oct 2002 15:54:05 GMT
Jaimes,
 
Here is a VERY simple sitemap that only takes a request for a PDF file 
and process the input XML file against the appropriate XSL file.  This 
may be a good starting point if you don't need a bunch of other stuff.
 
Hope it helps!
 
Bob
 
SITEMAP.XMAP
<?xml version="1.0" encoding="iso-8859-1"?>
<map:sitemap xmlns:map=" http://apache.org/cocoon/sitemap/1.0">
 
 <!-- use the standard components -->
 <map:components>
  <map:generators default="file"/>
  <map:transformers default="xslt"/>
  <map:readers default="resource"/>
  <map:serializers default="html"/>
  <map:selectors default="browser"/>
  <map:matchers default="wildcard"/>
  <map:transformers default="xslt"/>
 </map:components>
      
 <map:pipelines>
  <map:pipeline>
   <!-- Respond to *.pdf requests -->
   <map:match pattern="*.pdf">
    <map:generate src="{1}.xml"/>
    <map:transform src="bol.xsl"/>
    <map:serialize type="fo2pdf"/>
   </map:match>
  </map:pipeline>
 </map:pipelines>
</map:sitemap>

-----Original Message-----
From: jblunt@itravel2000.com [mailto:jblunt@itravel2000.com]
Sent: Thursday, October 10, 2002 11:54 AM
To: cocoon-users@xml.apache.org
Subject: Sample Sitemap.xmap file



Hey Guys, 

I have created a new webapps directoryt for Cocoon 2.0.3 with Tomcat by 
copying the entire Cocoon directory over like some pof you suggested.  
I am trying to trim down the sitemap file though so that I dont include 
all of the samples directories and whatnot and seem to be having a 
tough time with it.  Does anyone have a sitemap file that is cleaned up 
that I could use to start from, or does anyone have ny other ideas of 
creating a new webapp?

Thanks All 

Jaimes Blunt 



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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