cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zze-MORY Nicolas FTRD/DMI/REN" <n.m...@rd.francetelecom.com>
Subject Problems with Several matcher in one pipeline
Date Mon, 28 Apr 2003 07:59:51 GMT
Hello,

I made a new sitemap.xmap. But when i want to put several matcher in one pipeline, just the
first matcher works, the others are ignored.
Do i forget some parameters or option ?

With this example : all .wml run correctly but when i want to see a xhtml file cocoon says
me that  he can't found the xhtml file. And if invert the the matcher, xhtml files run correctly
but wml are not found by cocoon........


 <map:pipelines>
    <map:pipeline>

	<map:match pattern="*.wml">
      	<map:generate src="http://10.194.52.12/wapcc/{1}.wml"/>
      	<map:transform src="content/WML/{request-param:B}" type="insert">
                <map:parameter name="element" value="card"/>
                <map:parameter name="onstart" value="true"/>
                <map:parameter name="after" value="true"/>
          </map:transform>
          <map:transform src="stylesheets/wml_wo_comments.xsl"/>
          <map:serialize type="wml"/>
      </map:match>

     <map:match pattern="*.xhtml">
        <map:generate src="content/{1}.xml"/>
        <map:transform src="transforms/article_mcinema.xsl"/>
        <map:serialize type="xhtml-MobileProfile"/>
      </map:match>

    </map:pipeline>
  </map:pipelines>



Thanks

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


Mime
View raw message