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 17:19:43 GMT
Miles Elam wrote:

> Ummm...  Quick question:  What are the use cases for this that are not 
> handled by existing methods?  I mean, couldn't this be handled with an 
> (as-yet unwritten) action?


Matcher *does* exist:


> <map:match pattern="*.doc">


<map:match type="wildcard-request-parameter" pattern="content">
  <map:parameter name="parameter-name" value="cocoon-view"/>

>    <map:generate type="word2xml" src="{../1}.doc"/>
>    <!-- complete the pipeline -->


</map:match>


>  <map:read src="{1}.doc"/>
> </map:match> 


<snip/>

Vadim



Mime
View raw message