Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change 
notification.

The following page has been changed by EllisPritchard:
http://wiki.apache.org/cocoon/SitemapStructure

The comment on the change is:
Note about map:component being able to host components normally found in xconf

------------------------------------------------------------------------------
  
  You might also want to look at MinimalSitemapConfiguration.
  
+ The {{{<map:components>}}} element is essentially the same as the contents of 
the {{{xconf}}} file 
[http://marc.theaimsgroup.com/?i=42E4FC63.10300%20()%20apache%20!%20org [1]]; 
just prefix everything with `map:`; this means that you can configure 
components such as input modules as well as pipeline components within your 
sitemap; these components are only available to the sitemap and child sitemaps, 
just like configured generator etc. components are:
+ 
+ {{{
+   <map:sitemap>
+     <map:components>
+       <map:input-modules>
+         <map:component-instance 
class="com.me.cocoon.components.modules.input.MySpecialInputModule" 
logger="core.modules.input" name="special">
+           <my-config>42</my-config>
+         </map:component-instance>
+       </map:input-modules>
+ 
+       <map:generators>...</map:generators>
+       <map:transformers>...</map:transfomers>
+       ...
+ 
+     </map:components>
+ 
+     ...
+   </map:sitemap>
+ }}}
+ 

Reply via email to