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

Reply via email to