Thanks a lot!!  It works fine.

-- Mauro

On Mon, 7 Oct 2002, Joerg Heinicke wrote:

> Hello Mauro,
> 
> you need two matches:
> 
> <map:match pattern="prueba.xsp">
>    <map:generate type="file" src="content/prueba.xml"/>
>    <map:transform src="logic/prueba.xsl" />
>    <map:serialize type="xml"/>
> </map:match>
> 
> <map:match pattern="prueba.xml">
>    <map:generate type="xsp" src="cocoon://prueba.xsp"/>
>    <map:transform src="style/prueba_to_html.xsl"/>
>    <map:serialize type="html"/>
> </map:match>
> 
> Hope that's what you you want. At least it's that what I understand from 
> your two mails ;-)
> 
> Regards,
> 
> Joerg
> 
> Mauro Daniel Ardolino wrote:
> > Hello!
> > I cannot understand how to configure a pipeline for this:
> > I have a xml-file and a xsl-file(logic).  Applying them I want to obtain a
> > xsp page and then apply another xsl-file(style) to obtain a html-file.
> > 
> > Well, I've made this pipeline in my sitemap.xmap:
> > 
> >    <map:match pattern="prueba.xml">
> >     <map:generate  type="file" src="content/prueba.xml"/>
> >     <map:transform src="logic/prueba.xsl" />
> >     <map:transform src="style/prueba_to_html.xsl"/>
> >     <map:serialize type="html"/>
> >    </map:match>
> > 
> > If I comment this line:
> >     <map:transform src="style/prueba_to_html.xsl"/>
> > ...I obtain the xsp page.
> > But it doesn't transform to a xml-file to after apply the other 
> > xsl-style-file.
> > 
> > How can I do that?
> > 
> > Thanks in advance.
> > 
> > Mauro
> 
> 
> ---------------------------------------------------------------------
> 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]>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


---------------------------------------------------------------------
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