From: <[EMAIL PROTECTED]>

> Hi,
>
>
> Thats how I use it in the sitemap:
> ...
> <map:match pattern="blabla">
>             <map:generate src="sampleoutput.xml"/>
>             <map:act type="xslSelect">
>                    <map:transform src="stylesheets/{results}.xsl"/>
>                    <map:serialize type="fo2pdf"/>
>             </map:act>
>  </map:match>

Try to change this like below:

 <map:match pattern="blabla">
             <map:act type="xslSelect">
                    <map:generate src="sampleoutput.xml"/>
                    <map:transform src="stylesheets/{results}.xsl"/>
                    <map:serialize type="fo2pdf"/>
             </map:act>
  </map:match>

--
  Konstantin

> ...
>
> But I only get the error that cocoon can't find the page (Resource not
> found). Invoking the different stylesheets "manually" is no problem, but
> using the action.
> Since it is my first action, I don't know where to look for the error.
>
> Another question. Can't I just give back a String? My XSLs are called
> report_16.xsl, report_17.xsl, report_18.xsl, report_19.xsl, error.xsl
>
> Jonny
>
> --------------------------------------------------------------------------
--------------------------
>
> This electronic message contains information from the mmo2 plc Group which
> may be
> privileged or confidential. The information is intended to be for the use
> of the
> individual(s) or entity named above. If you are not the intended recipient
> be aware
> that any disclosure, copying, distribution or use of the contents of this
> information
> is prohibited. If you have received this electronic message in error,
> please notify
> us by telephone or email (to the numbers or address above) immediately.
>
>
>
>
> ---------------------------------------------------------------------
> 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