Is {0} not available when using sitemap matcher?
I have a sub-sitemap where

This works (wildcard):

   <map:match 
     pattern="product/category_edit.xml">
     <map:act type="update-ejb">
       <map:generate type="serverpages" src="{../0}"/>
     </map:act>
     <map:transform type="xinclude"/> 
     <map:transform src="product/category.xsl"/>
     <map:serialize/>
   </map:match>

but this doesn't (regexp):

   <map:match type="regexp"
     pattern="product/category_(view|edit)\.xml">
     <map:act type="update-entity">
       <map:generate type="serverpages" src="{../0}"/>
     </map:act>
     <map:transform type="xinclude"/> 
     <map:transform src="product/category.xsl"/>
     <map:serialize/>
   </map:match>

to make the generator find source I have to do:
src="product/category_{../1}.xml"

Any ideas ?


Artur...



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

  • ... Bonifacio Martín Galán
  • ... Высоцкий Олег Михайлович
    • ... Vadim Gritsenko
  • ... Peter Hargreaves
  • ... brian
  • ... Ryan Agler
  • ... Lajos Moczar
  • ... Dean McGowan
    • ... Dean McGowan
  • ... Brad Rippe
    • ... Artur Bialecki
      • ... Christian Haul
        • ... Artur Bialecki
        • ... Vadim Gritsenko
  • ... Felix Roethenbacher
    • ... Vadim Gritsenko
  • ... Skip Carter
    • ... Vadim Gritsenko
  • ... Rune Sandnes
    • ... Vadim Gritsenko
  • ... Vadim Gritsenko

Reply via email to