Hi Cenk, did you check the result of your first transformation by leaving out the second transformer and replacing your serializer with an xml-serializer? Is this output correct? Then I would take the result and use it as input for your second transformation (in a test pipeline), in order to check which of the two tranformations goes wrong. Maybe it's no cocoon-problem at all !?
Best regards - Volker - -----Original Message----- From: Cenk Uysal [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 14. Mai 2002 11:59 To: [EMAIL PROTECTED] Subject: RE: More than one transformation in one pipeline My sitemap is as below: <map:pipeline> <map:match pattern="*/*.*"> <map:generate src="personnel.xml"/> <map:transform type="xslt" src="personnel2.xsl"/> <map:transform type="xslt" src="personnel.xsl"/> <map:serialize/> </map:match> </map:pipeline> XML file is(personnel.xml): <?xml version="1.0"?> <personnels> <personnel> <name>Cenk</name> <surname>Uysal</surname> <title lang="tr">Arastirma Gorevlisi</title> <title lang="en">Searching Assistant</title> </personnel> </personnels> First XSL file (personnel2.xsl): <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <personnels> <personnel> <xsl:for-each select="personnels/personnel"> <title><xsl:value-of select="title"/></title> </xsl:for-each> </personnel> </personnels> </xsl:template> </xsl:stylesheet> Second XSL file(personnel.xsl); <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <xsl:for-each select="personnels/personnel"> <xsl:value-of select="title"/> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet> As you can see, my code does nothing. I try to transform my XML to another XML with personnel2.xsl stylesheet and then to HTML with personnel.xsl But I get error! What is wrong with this code? __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>