cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: [C2] Matcher concept
Date Sun, 25 Jun 2000 21:45:26 GMT
On Sun, 25 Jun 2000, Stefano Mazzocchi wrote:

> Well, in case you didn't notice there is this example in the current
> working draft
> 
>  <!--
>      Complex example to show how some xpath-like syntax is used 
>      to get access to the pattern tokens generated by the matchers.
>    -->
>  <map:match pattern="nested-matchers/*">
>   <map:match type="browser" pattern="name('Mozilla ?\?*')">
>    <map:mount src="file:///home/www/mozilla-{1}-{2}/{../1}"/>
>   </map:match>
>  </map:match>
> 
> in which I used XSLT/XPath design principles.
> 
> Isn't this good enough?

{../1} is much better than $$1. +1 from me.

- donald


Mime
View raw message