cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject Regexp matcher with digits
Date Sat, 30 May 2009 06:26:53 GMT
I am trying to match a url that ends with digits. I tried this: 

<map:match type="regexp" pattern="\.*/[:digit:]*$">
    ...
             <map:transform src="transform.xsl">
                 <map:parameter name="href" value="{1}"/>
                 <map:parameter name="depth" value="{2}"/>
             </map:transform>

Then I tried:

<map:match type="regexp" pattern="\.*/[0-9]*$">

Nothing seems to be working. What's worng ? 

One more thing, I have seen some code for a sitemap using something like
{../2}, what is this ? I couldn't find any documentation.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message