cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e nio <enio...@yahoo.com>
Subject Lost in the pipeline - cocoon/documentation
Date Tue, 31 Dec 2002 18:52:38 GMT

  Am trying to follow the pipelines for cocoon to
display the index.xml, for example when I type on the
browser  http://localhost:8080/cocoon/documentation

I followed it from the main sitemap.xmap -> to a
documentation sitemap.xmap.   I lost track once the
matcher has hit this partof the
documentation/sitemap.xmap:

194  <map:aggregate element="site">
195  <map:part src="cocoon:/book-{1}.xml"/>
196  <map:part src="cocoon:/body-{1}.xml"
label="content"/>

Im not sure what happens when this aggregates. Does
aggregate holds a big file while it compose the parts
and after it the aggregate gets transformed? What does
 the cocoon:/  do?  It seems it jumps to this but can
not confirm:

94   <map:match pattern="**book-**.xml">
95    <map:call resource="book">   
96     <map:parameter name="resource" value="{2}" /> 

Is the first ** same as the second ** sorrounding
**book**.xml ? and the parameter resource={2} is
passed  to whom? is it to line 65?

65  <map:resources>
66   <map:resource name="book">
67    <map:generate src="xdocs/{../1}book.xml"/>

Any clarification will help..Thanks.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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