cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Sample Sitemap.xmap file
Date Thu, 10 Oct 2002 15:54:05 GMT
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!
<?xml version="1.0" encoding="iso-8859-1"?>
<map:sitemap xmlns:map="">
 <!-- use the standard 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"/>
   <!-- Respond to *.pdf requests -->
   <map:match pattern="*.pdf">
    <map:generate src="{1}.xml"/>
    <map:transform src="bol.xsl"/>
    <map:serialize type="fo2pdf"/>

-----Original Message-----
From: []
Sent: Thursday, October 10, 2002 11:54 AM
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.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message