[DAISY] Updated: TraversableGenerator
| Newsgroups | gmane.text.xml.cocoon.documentation |
|---|---|
| Message-ID | <[email protected]> |
A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/1016.html
Document ID: 1016
Branch: main
Language: default
Name: TraversableGenerator (unchanged)
Document Type: Sitemap Component (unchanged)
Updated on: 3/27/08 8:54:56 PM
Updated by: Luca Morandini
A new version has been created, state: draft
Parts
=====
Long description
----------------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 2864 bytes (previous version: 2940 bytes)
Content diff:
(36 equal lines skipped)
<map:parameter name="depth" value="4"/>
<map:parameter name="include" value="wsmain$|resource$|basepage$|\.(.+)"/>
<map:parameter name="exclude" value="xsl$|xmap$"/>
--- <map:parameter name="xmlFiles" value="\.jx$"/>
</map:generate>
<map:serialize type="xml"/>
</map:match></pre>
<p>The sitemap fragment above will browse every block defined in the current
block via the Servlet Service Framework (look at the "blockcontext:/"
--- <tt>src</tt> attribute) and will include every resources in the
--- "<tt>wsmain/resource/basepage/*.</tt><tt>*</tt>" pattern (or combination of)
--- excluding those ending with "<tt>xsl</tt>" and "<tt>xmap</tt>".</p>
+++ <tt>src</tt> attribute) and will include every resources iftting
+++ the"<tt>wsmain/resource/basepage/*.</tt><tt>*</tt>" pattern (well, even its
+++ combinations, like
+++ <tt>"resource/</tt><tt>wsmain/resource/basepage/*.</tt><tt>*</tt>) excluding
+++ those ending with "<tt>xsl</tt>" and "<tt>xmap</tt>".</p>
<p class="warn">While the <tt>exclude</tt> could be referred to name of
resources, the <tt>include</tt> should take into account its path as well, since
--- the matching is done path segment by path segment. In other words if the
--- <tt>include</tt> missed, say, the "resource" Regular Expression, it will match
--- only resources in the
--- <tt>"wsmain/</tt><tt>*</tt><tt><tt><tt>.</tt></tt></tt><tt>*</tt>"pattern.</p>
+++ the matching is done path segment by path segment. In other words, every single
+++ segment of the path leading to the resources to be included has to be matched.
+++ </p>
</body>
</html>