Template-Matcher in Cocoon
TemplateMatcher
NAME |
template |
WHAT |
The TemplateMatcher component is used to serve data in a sitemap pipeline. |
TYPE |
Matcher, Sitemap Component |
BLOCK |
Core/Block-Name/Scratchpad |
CLASS |
org.apache.cocoon.matching.TemplateMatcher |
SINCE |
Cocoon X.Y |
CACHEABLE |
not applicable |
Description
A general description of TemplateMatcher
Usage
A usage scenario of TemplateMatcher
Sitemap pipeline examples
<map:pipelines> <map:pipeline> <map:match pattern="page-*.html"> <map:generator src="{1}" > <!-- option sitemap parameters --> </map:generator> </map:match> </map:pipeline> ...
Sitemap component configuration example
<map:matchers... <map:matcher name="template" src="org.apache.cocoon.matching.TemplateMatcher" logger="sitemap.matcher.template" /> <!-- optional matcher configuration --> ... </map:matcher> ...
Configuration
Explain the sitemap matcher configuration, options when declaring template matcher
Setup
Explain the sitemap matcher setup, ie options when using template matcher
Effect on Object Model and Sitemap Parameters
Bugs/Caveats
History
MM-DD-YY: initial creation
See also
A general documentation about matchers is available at Matchers and Selectors.
Errors and Improvements? If you see any errors or potential improvements in this document please help us: View, Edit or comment on the latest development version (registration required).