sorry, my description of the problem was not good enough. i'll try again: i've created a new document with the ID "test" and this is integrated in another page (i call it overview-page for now) as menu item. the test-page shows resuls from a database query. when i click this test-item in the menu, i want the contents of the "test"-page to show up in the body of the overview-page. However, the result is actually shown in another page (not in the overview-page) with white background. for example: if i click on another menu item (simple page, not static page or something else), which was also created with lenya, then i see the result in the body of the overview-page and right here i want to see the result from the database, when i click on the "test" item.
here the test.xsp: -------------Begin test.xsp------------- <?xml version="1.0" encoding="ISO-8859-1"?> <xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:esql="http://apache.org/cocoon/SQL/v2"> <content> <esql:connection> <esql:pool>oracle_pool</esql:pool> <esql:execute-query> <esql:query> select RANK_TITLE from phpbb_ranks </esql:query> <esql:results> <esql:row-results> <rank_title><esql:get-string column="RANK_TITLE"/></rank_title> </esql:row-results> </esql:results> <esql:no-results> Der Query gab eine leere Liste zur?ck! </esql:no-results> <esql:error-results> Es ist ein Fehler bei der Anfrage aufgetreten! </esql:error-results> </esql:execute-query> </esql:connection> </content> </xsp:page> -------------End test.xsp------------- and here the test2xhtml.xsl: -------------Begin test2xhtml.xsl------------- <?xml version="1.0" encoding="ISO-8859-1" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:i18n="http://apache.org/cocoon/i18n/2.1"> <xsl:param name="root"/> <xsl:param name="document-id"/> <xsl:param name="language"/> <xsl:template name="login"/> <xsl:param name="users-login"/> <xsl:template match="content"> <html> <body> <table border="1"> <tr> <td><xsl:apply-templates /></td> </tr> </table> </body> </html> </xsl:template> <xsl:template match="rank_title"> <xsl:value-of select="."/> </xsl:template> </xsl:stylesheet> -------------End test2xhtml.xsl------------- CuPaKoB > > If I am interpreting this correctly, you have the "test" DIV on the > response page, probably outside the BODY tags. View the HTML source > of the response page. > > 1. test.xsp generates some XML. > 2. test2xhtml.xsl transforms the XML to XHTML, usually a named DIV: > <DIV name="test">My XML</DIV> > > This is typically aggregated with other XML, such as the navigation > elements. That is then transformed by a step you are missing: > 3. page2xhtml.xsl merges the DIVs from all the content and navigation > XHTML, placing them on the response page where desired within the BODY > tags. > > solprovider > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]