Urs
 
Your problem statement is not quite clear in this message;
perhaps you can indicate your overall program logic, showing
how data is handled and processed by the different parts of 
Cocoon.   You need to differentiate clearly between data 
retrieval ('"raw" data); data alteration (eg. calculated values);
data manipulation (e.g. sorting) and data layout (order, 
appearance etc.) This will help visualise alternatives.
 
Derek

>>> "Urs Iwert" <[EMAIL PROTECTED]> 2007/05/11 11:51:54 AM >>>

Hi cocooners,

I'm using cocoon to creating html,pdf,xls and rtf reports.

I started using XSP/ESQL to connect directly to the datasource (mysql)
and merged the data with the layout of the report in the xsp page.

<map:match pattern="report/*.xml">
    <map:generate src="report/{1}.xml" type="serverpages" />
    <map:transform type="i18n" />
    <map:transform src="stylesheets/doc2pdf.xsl" />
    <map:serialize type="fo2pdf" />
</map:match>

  
Now the requirements have changed and the xml data comes from an other
provider. So I don't have to deal with the sql statement anymore, but
how can I merge the xml data with the layout of the report in the xsp
page. Formatting, filtering, grouping, calculations depend on the
provided data using xsp. How can use this approach without transfering
the logic to a xsl stylesheet.

I can't see any solution. Any idea appreciated.

Urs Iwert

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



-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
[EMAIL PROTECTED]


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Reply via email to