cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@swisslab.de
Subject Pipeline Question
Date Fri, 14 Oct 2005 13:07:14 GMT
Hello List,

I ve got two pipelines:

    <map:match pattern="*/*/*.pdf" >
      <map:generate src="{global:xml-path}/{1}/{3}.xml"/>
      <map:transform type="xslt-saxon"
src="{global:stylesheet-path}/{1}/{2}.xsl" label="content"/>
      <map:serialize type="fo2pdf"/>            
    </map:match>  

    <map:match pattern="Print/*/*.*">
      <map:call function="makepdf">        
        <map:parameter name="folder" value="{global:working-path}"/>
        <map:parameter name="file" value="{2}"/>
        <map:parameter name="extention" value=".{3}"/>
        <map:parameter name="customer" value="null"/>
        <map:parameter name="stylesheet" value="{1}"/>
      </map:call>
    </map:match>

The problem ist, that when ever I call the second pipeline the first is
executet because "Print/*/*.*" also matches "*/*/*.pdf".
Is there a way to tell Cocoon to use a pipeline only if a wildcard is NOT of
a special value? I want the fist pipeline beeing matched only if the first
wildcard is NOT "Print".

Is this possible? How?

Thanks & Regards,
Jan

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


Mime
View raw message