Jaimes,

I'm sorry, but I have just gotten involved with this technology...I 
believe the line that handles wildcards is this one:

  <map:matchers default="wildcard"/>

This works fine for me using Cocoon on WinXP and WebSphere 4.0.  Not 
sure how your setup handles wildcards, but I'm sure someone here can 
offer more help than I can!

Bob

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 12:09 PM
To: [EMAIL PROTECTED]
Subject: RE: Sample Sitemap.xmap file


Thanks for the sample file, but I am having some problems with it, 
getting the following error:
ComponentSelector could not find the component for hint: wildcard

Jaimes

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 11:54 AM
To: [EMAIL PROTECTED]
Subject: RE: Sample Sitemap.xmap file


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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 11:54 AM
To: [EMAIL PROTECTED]
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>



---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to