I have a series of simple pipelines that fetch information from a DB and 
step-by-step produce an XML document. This document is a jasper template so for 
the last serializer I need to add:

   <doctype-public>&#8230;&#8230;</doctype-public>
   <doctype-system>&#8230;./jasperreport.dtd</doctype-system>

In order to have the appropriate 

   <!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN"
         "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd";>

declaration which the jasper compiler needs.

The problem is that because I read stuff from the DB, I get an: 

   xmlns:sql="http://apache.org/cocoon/SQL/2.0";

attribute on my top element which is not compliant with the later DTD 
(jasperreport.dtd).

If I try to filter-out this attribute using another pipeline (remove by XSLT) 
then the DB fields return empty &#8211; no info fetched from the DB.

How can I avoid getting the xmlns:sql attribute in pipelines that fetch data 
from DBs, when I change the DTD???



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

Reply via email to