A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/732.html

Document ID: 732
Branch: main
Language: default
Name: Cocoon Sitemap internals (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 2/20/06 8:31:32 AM
Updated by: Helma van der Linden

A new version has been created, state: publish

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 10230 bytes (previous version: 10249 bytes)
Content diff:
(23 equal lines skipped)
    
    <p>In Cocoon 2.2 the sitemap is internally represented by a tree that 
contains a
    node for each matcher, generator, transformer, serializer and other 
components
--- used in the sitemap. This process is executed at Cocoon startup and each 
time
+++ used in the sitemap. In this context "tree" means an Abstract Syntax Tree 
as is
+++ commonly meant in parsers: a tree of "executable objects", which is built by
+++ parsing the sitemap.xmap file. The tree is built at Cocoon startup and each 
time
    the sitemap is changed and needs to be reloaded. This is done for each 
sitemap
    and subsitemap.</p>
    
--- <p class="note">Here "tree" means an Abstract Syntax Tree as is commonly 
meant
--- in parsers: a tree of "executable objects", which is built by parsing the
--- sitemap.xmap file.</p>
--- 
    <p class="note">Subsitemaps are only converted into a tree when they are 
needed.
    </p>
    
(77 equal lines skipped)
    (this was chosen for its ease of use compared to raw DOM).</p>
    
    <p>The second section in the sitemaplanguage configuration, &lt;nodes&gt;,
--- defines a ComponentSelector for ProcessingNodeBuilders. For each element 
+++ defines a ComponentSelector for ProcessingNodeBuilders. For each element
    encountered in the sitemap source file, the corresponding node builder is
    fetched from this selector with the local name of the element as the 
selection
    hint, i.e. &lt;map:act&gt; will lead to selector.select("act").</p>
(102 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes