Hi Eric, I was in battle with the same problem last days. I presume junit-frames.xsl creates index.html, but produces no output to the default destination, is that correct?
You may find answer on your question in sitemap.java, generated for your sitemap.xmap. Also I'd recommend you to take a look how the java is generating: <cocoon_home>\src\org\apache\cocoon\components\language\markup\sitemap\j ava\sitemap.xsl You could find many interesting things there. Serialize - is the last action in match: ... <!-- generate the code to invoke a serializer --> <xsl:template match="map:serialize"> <xsl:call-template name="setup-component"> <xsl:with-param name="default-component" select="/map:sitemap/map:components/map:serializers/@default"/> <xsl:with-param name="method">pipeline.setSerializer</xsl:with-param> <xsl:with-param name="prefix">serializer</xsl:with-param> <xsl:with-param name="mime-type" select="@mime-type"/> </xsl:call-template> <!-- if there is a status-code attribute tell it to the environment --> <xsl:if test="@status-code"> environment.setStatus(<xsl:value-of select="@status-code"/>); </xsl:if> <xsl:if test="not(ancestor::map:pipeline[@internal-only='yes' or @internal-only='true'])"> if (!internalRequest) { return pipeline.process(environment); } </xsl:if> <!-- the if(true) prevents "unreachable statement" errors during compile --> !!! if(true) return true; !!! </xsl:template> <!-- match="map:serialize" --> ... I marked with "!!!" the line, which does not allow your redirector to execute. My solution is: In your xsl, you put to the default output the following lines: <html> <meta http-equiv="refresh" content="3; url=docs/samples/junit/index.html"/> </html> That works! Best wishes, Nick > -----Original Message----- > From: Erik Stunkat [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 09, 2001 5:42 PM > To: [EMAIL PROTECTED] > Subject: no html output after html rendering > > > Hi > > when I have an index.html page instead of the name I specify in > sitemap.xmap: > > <map:match pattern="junitframes.html"> > <map:generate src="docs/samples/junit/junit.xml"/> > <map:transform src="stylesheets/junit/junit-frames.xsl"/> > <map:serialize type="html"/> > !! <map:redirect-to uri="docs/samples/junit/index.html"/> !! > </map:match> > > > is that correct? I want to show the index.html page (there > are a couple of html generated). log file is ok, but there is > only a blank page in the browser. When I create the same > stuff without cocoon the initial page is "index.html" > > Erik Stunkat > QA > POET Software > Hamburg, Germany > +49(0)40 60990-303 > [EMAIL PROTECTED] > > > > > I have docbook dtd xml 4.1.2 with N. Walshs stylesheets and > I´m able > > to > get > > html output with the xsl stylesheets for plain html. It > seems to work > > with fo to produce pdfs (no errors in log) but the browser shows > > nothing, empty page. > > Your problem is probably called 'microsoft'. > > 1. Try with Netscape/Opera > or > 2. Have an URL ending with .pdf > > -- > Sébastien Koechlin - IVision - [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]> --------------------------------------------------------------------- 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]> --------------------------------------------------------------------- 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]>