cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <>
Subject Re: [RT] Views for readers
Date Thu, 14 Aug 2003 14:02:38 GMT
Le Jeudi, 14 aoû 2003, à 15:53 Europe/Zurich, Sylvain Wallez a écrit :

> ...But shouldn't we keep labels that are already used into pipelines ? 
> E.g :
> <map:read src="docs/{1}.doc" label="raw, xdoc"/>
> <map:generate src="docs/{1}.doc" type="word2xml" label="raw"/>
> <map:transform src="xword2xdoc.xsl" label="xdoc"/>

If it's this way I'd prefer "unless-label" in map:read to make it clear.

Or maybe

   <map:read src="docs/{1}.doc" unless-label="*"/>

would do, meaning "use this unless any views are requested"
(and * would be the only allowed value).

> Ah, and this is very easily implementable ;-)

Quickquick, do it before the FS police hears us ;-)

Seriously, I find this useful for indexing and other purposes (gettting 
meta-information about binary files, images, etc for example).


View raw message