Hi Robert,

> But, would you can explain me what
>do this attribute *-* ?????
>    <map:match pattern="file*-*.pdf">

The first asterisk '*' matches everything between 'file' and the first '-'
(that's, 'X', or 'Y' in your example).
The second '*' matches the rest until '.pdf' (the date in your example).

regards,
Ruben



|---------+---------------------------->
|         |           Robert Siqueira  |
|         |           <[EMAIL PROTECTED]|
|         |           camp.br>         |
|         |                            |
|         |           31.10.2002 01:02 |
|         |           PM               |
|         |           Please respond to|
|         |           cocoon-users     |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                          |
  |       To:       [EMAIL PROTECTED]                                        
                          |
  |       cc:                                                                          
                          |
  |       Subject:  Re: How can I generate different pdf's ?!?!?!?                     
                          |
  
>--------------------------------------------------------------------------------------------------------------|




Thanks Ruben... its worked !!!!!
 But, would you can explain me what
do this attribute *-* ?????

thanks...

[EMAIL PROTECTED] wrote:

> Hi Robert,
> you can try something like:
>
>    <map:match pattern="file*-*.pdf">
>     <map:generate src="file{1}-{2}.xml"/>
>     <map:transform src="file{1}.xsl"/>
>     <map:serialize type="fo2pdf"/>
>    </map:match>
>
> regards,
> Rubem

--
Robert Siqueira




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

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






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

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

Reply via email to