Index.xml

<?xml version="1.0" encoding="Windows-1251"?>
<head>
        <logotype/>
        <top-menu/>
</head>

And JX:

<?xml version="1.0" encoding="windows-1251"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        
xmlns:jx="http://apache.org/cocoon/templates/jx/1.0";>

<jx:import
uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml"/>
<jx:import uri="pages/menu.xml"/>
<div id="forms">
 <link href="forms.css" rel="stylesheet" type="text/css"/>
<h2>Components:</h2>
 <table>
        <tr>
                <th>Name</th>
                <th>Amount</th>
        </tr>
        <jx:forEach var="comps" items="${components}">
                <tr>
                        <td>${comps}</td>
                        <td>${comps}</td>
                </tr>
        </jx:forEach>
 </table>
</div>
</xsl:stylesheet>

-----Original Message-----
From: Joerg Heinicke [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 22, 2008 2:53 AM
To: [email protected]
Subject: Re: cforms + javaflow + sitemap problem

On 21.09.2008 15:11, Magsend wrote:

> the content is still duplicates... but without style

My guess is that one of the parts comes with a <content> root element as 
well (or something like that). How do index.xml and 
form-template/{1}.xml look like?

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to