You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Fe...@thomson.com on 2006/03/07 12:37:36 UTC
problem patching sitemap
I have tried the following patch for the sitemap. If I don't use the
'insert-after' it works,
but as soon as I put it, it fails to match. Using Cocoon 2.1.8
<xmap
xpath="/sitemap/pipelines/pipeline"
unless="/sitemap/pipelines/pipeline/match[pattern='html/*.html']"
insert-after="match[pattern='**favicon.ico']"
>
<map:match pattern="html/*.html">
<map:read mime-type="text/html" src="resources/html/{1}.html"/>
</map:match>
</xmap>
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: problem patching sitemap
Posted by Luca Morandini <lm...@ieee.org>.
Fernando.Matomira@thomson.com wrote:
> I have tried the following patch for the sitemap. If I don't use the
> 'insert-after' it works,
> but as soon as I put it, it fails to match. Using Cocoon 2.1.8
Try putting the complete path in it, like:
insert-after="/sitemap/pipelines/pipeline/match[pattern='**favicon.ico']"
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org