cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: [RT] Views for readers
Date Thu, 14 Aug 2003 15:17:14 GMT
Sylvain Wallez wrote:

> Bertrand Delacretaz wrote:
>
>> 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). 
>
>
>
> Me too. But since is a change in the sitemap syntax, we should have a 
> vote on this.
>
> Any other proposal or opinion on this subject before we start a vote ? 


Can't you just enable generators in map:view in case when view starts 
with reader?

Vadim



Mime
View raw message