cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira" ...@upaya.co.uk>
Subject Re: [RT] Views for readers
Date Thu, 14 Aug 2003 13:50:12 GMT
On 14 Aug 2003 at 15:34, Bertrand Delacretaz wrote:

> I find this more understandable (but dunno about implementation):
> 
> <!-- if reader is executed, the rest is not -->
> <map:read src="docs/{1}.doc" unless-view="wordToXml"/>
> <map:generate src="docs/{1}.doc" type="wordToXml"/>
> <map:transform...

Simplifying further:
  <map:read src="docs/{1}.doc" view-generator="wordToXml"/>

Surely that'd do it?

Regards, Upayavira


Mime
View raw message