Hi,

The structure of the sitemap is very simple. Something like :

<map:sitemap>
// Where all your components are declared (classes & parameters)
// For beginning you only need the FileGenerator, maybe the ServerPages 
Generator (for XSPs), the TraxTransformer (for performing XSL 
transformations) and the HTMLSerializer
   <map:components>
     <map:generators>
       <map:generator/>
       <map:generator/>
     </map:generators>
     <map:transformers>
       <map:transformer/>
       <map:transformer/>
     </map:transformers>
     <map:serializers>
       <map:serializer/>
       <map:serializer/>
     </map:serializers>
   </map:components>

// Where view are defined (not needed for beginning)
   <map:views/> 

// Where resources are defined (not needed for beginning)
   <map:resources/>

// The heart of Cocoon's sitemap
   <map:pipelines>
     <map:pipeline>
       <map:generate src="foo.xml"/>
       <map:transform src="foo.xsl"/>
       <map:serialize/>
     </map:pipeline>
   </map:pipelines>

</map:sitemap>

This is maybe the most simple sitemap (correct me if i'm wrong)!

Considering jars, in the distrib (at least 2.0.3's one), a jars.xml 
describes which jars are core and which are optional and provided only 
for the needs of a special feature (such as POI, Batik, FOP...)

Hope That Helps

Cédric




Gernot Koller wrote:
> Hi!
> 
> I'm very new to cocoon and this is probably a very "newbie" sort of 
> question..
> 
> I installed cocoon as described and have the demo running.
> 
> Most of the samples work but not all do. I'm not sure, but it seems to 
> me not all samples are supposed to run out of the box as some depend on 
> data sources which definitly don't exist on my system.
> 
> Anyway, as I'm trying to figure out how all these things are fitting 
> together, I find the demo sitemap containing all these samples way too 
> complicated. I tried to throw out all unnecessary stuff leaving only the 
> most simple hello world sample, but actually failed to do so.
> 
> So there is my question: How does a minimal sitemap look like ? Or, is 
> there a "empty.war" file which I can import, that only contains the 
> necessary base to begin with ? Also listing the WEB-INF/lib directory of 
> the demo brings millions of jar files wich I can't belive being 
> necessary for a most simple hello world sample. Removing one after each 
> other on a trial and error basis is quite a pain...
> 
> Can someone of you gurus point my nose to where I can find this sort of 
> info ?
> 
> thanks!
> 
> gernot.
> 
> 
> ------------------------------------------------------------------------
> Yahoo! - We Remember
> *9-11: A tribute to the more than 3,000 lives lost 
> <http://dir.remember.yahoo.com/tribute>*




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