cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@codeconsult.ch>
Subject Re: [RT] Views for readers
Date Thu, 14 Aug 2003 13:09:05 GMT
How about making it the other way round, by allowing Generators to read 
from Readers?

<map:match pattern="*.doc" default-view="binary">
   <map:generator label="xml-content-for-indexing" type="wordToXml">
     <map:read src="word-documents/{1}.doc" label="binary" 
mime-type=.../>
   </map:generator>
   <map:serialize type="xml"/>
</map:match>

Is that RT-ish enough?

-Bertrand


Mime
View raw message