You are trying two different methods.

When you do multiple <map:transformation/>s it applies one
to your xml, then the next to the _output_.

Multiple <xsl:import/include>s combine seperate xsl into
one then applies a transform.

J.

> -----Original Message-----
> From: Karpenstein, Cristina (Apprentice)
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 10 September 2002 10:37 am
> To: '[EMAIL PROTECTED]'
> Subject: using xsl transformation twice
> 
> 
> hi,
> 
> i have two stylsheets for one xml dokument. normally i do it like:
> 
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> version="1.0">
> 
> <xsl:import href="head.xsl"/>
> <xsl:import href="foot.xsl"/>
> 
> .....
> 
> and do a <xsl:call-template name"...."/> on it. it works 
> without a problem
> (in xml-spy). now i tried it in cocoon. i deleted the 
> xsl:import tag and
> filled the <map:transformation.....> three times, but it did not work.
> actually nearly all code is lost somewhere on the way. i 
> guess i overlooked
> something. if i do just one transformation and leave the 
> <xsl:import...>
> tag, it works fine as well. but this is not the way i want it 
> and cocoon
> offers it. 
> 
> any suggestions will be appreciated.
> 
> regards
> 
> cristina karpenstein
> 
> ---------------------------------------------------------------------
> 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]>
> 


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

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