Hi, i'm using apache 1.3.23,tomcat 4.01, jdk 1.3.1 and cocoon 2.01
i've got a stylesheet named template3 with the following lines: <xsl:variable name="menu" select="document('menu.xml')"/> <xsl:include href="createmenu.xsl"/> so i need to import other stylesheets. in cocoon i made following pipeline: <map:pipelines> <map:pipeline> <map:match pattern=""> <map:redirect-to uri="htdocs/index.html"/> </map:match> <map:match pattern="**.html"> <map:read src="{1}.html"/> </map:match> <map:match pattern="images/**.gif"> <map:read src="htdocs/images/{1}.gif" mime-type="image/gif"/> </map:match> <map:match pattern="images/**.jpg"> <map:read src="htdocs/images/{1}.gif" mime-type="image/jpg"/> </map:match> <map:match pattern="images/**.png"> <map:read src="htdocs/images/{1}.gif" mime-type="image/png"/> </map:match> <map:match pattern="*.css"> <map:read src="htdocs/{1}.css" mime-type="text/css"/> </map:match> <map:match pattern="scripts/*.js"> <map:read src="htdocs/scripts/{1}.js" mime-type=" application/x-javascript"/> </map:match> <map:match pattern="*.xsl"> <map:read src="htdocs/xsl/{1}.xsl" mime-type="text/xsl"/> </map:match> <map:match pattern="**.xml"> <map:generate src="htdocs/{1}.xml" type="file"/> <map:transform src="htdocs/xsl/template3.xsl" type="xslt"/> <map:serialize type="html"/> </map:match> </map:pipeline> </map:pipelines> The problem is that i get an empty html document back. I hope you can help me to solve this problem. Maybe i only made a stupid mistake. Thanks Jens --------------------------------------------------------------------- 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]>