A document has been updated:

http://cocoon.zones.apache.org/daisy/legacydocs/534.html

Document ID: 534
Branch: main
Language: default
Name: XPath Directory Generator (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 5/26/06 7:32:17 PM
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: 3710 bytes (previous version: 3603 bytes)
Content diff:
(16 equal lines skipped)
    
    <h1>Additional Configuration</h1>
    
--- <pre>
---   &lt;map:generate type="xpathdirectory" src="the/requested/directory"&gt;
+++ <pre>  &lt;map:generate type="xpathdirectory" 
src="the/requested/directory"&gt;
        &lt;map:parameter name="xpath" 
value="/article/title|/article/abstract"/&gt;
        &lt;map:parameter name="xmlFiles" value="\.x.*$"/&gt;
      &lt;/map:generate&gt;
(21 equal lines skipped)
    Apache RegExp project</a>.</li>
    </ul>
    
+++ <p class="note">The <tt>sort</tt> parameter only takes values from the
+++ DirectoryGenerator, not an XPath.</p>
+++ 
    <h1>Extended DTD</h1>
    
--- <pre>
---   &lt;!ELEMENT directory (directory|file)*&gt;
+++ <pre>  &lt;!ELEMENT directory (directory|file)*&gt;
      &lt;!ATTLIST directory
        name         CDATA #REQUIRED
        lastModified CDATA #REQUIRED
(19 equal lines skipped)
    
    <p>The current XPath Directory Generator may generate following xml:</p>
    
--- <pre>
--- &lt;dir:directory xmlns:dir="http://apache.org/cocoon/directory/2.0";
+++ <pre>&lt;dir:directory xmlns:dir="http://apache.org/cocoon/directory/2.0";
        name="articles" lastModified="1057183738609" date="03.07.03 00:08" 
size="0"
        requested="true" sort="name" reverse="false"&gt;
      &lt;dir:directory name="images" lastModified="1057183738609" 
date="03.07.03 00:08" size="0"/&gt;
(16 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

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

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