Thanks Martin, how to fill the data from the database for the placeholders
in temp.xml? Is it the data or the ResultSet needs to be converted to a XML
format. My question is ,similar to Jasper reports is there any API (eitheir
DOM or FOP) which takes the ArrayList (contains the data from DB)
Thanks Simon, as per your comment i need to parse the Temp.xml (which
contains the placeholder) using SAX and read the data from the resultset.
But how can I merge or append the data reed from DB to the Temp.xml.
Once i merge the data in place of the placeholder, the temp.xml should look
like:-
Well, theoretically you can drop the ResultSet into the Velocity
context and iterate over it in the template, which is certainly the
simplest way - personally, I prefer to create a List of some Bean
class and iterate over that instead. But then, I'm old, cynical, and
paranoid!
M
On 11 February
I don't know if this will help but if you are parsing with XSLT first you could
use Xalan or Saxon to grab the data from the db. Xalan has an extension that
you can use easy enough but Saxon's extension can only be used from the command
line. Now to take it one step further you could write your
Hi,
I am trying to generate a PDF document with barcode in it. I am running
this example on FOP trunk.
When I run the sample barcode test xsl:fo file from the command prompt...
*fop -fo barcodetest.fo -pdf barcodetest.pdf*
I have got the following messages on the console...
11-Feb-2010
thx. yes, but i also need to know the length of each string, the length in mm
of each character, the length of column to know when they break in two or
more lines :) i think is is possible in automatic mode :)
Mario Madunic wrote:
Sorry for it to make more sense here is the xpath I would
I'm using 0.94. It seems to generate correcty for me. I've attached the PDF.
From: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com]
Sent: Thursday, February 11, 2010 7:59 AM
To: fop-users@xmlgraphics.apache.org
Subject: barcode test failing
Hi,
I am trying to generate a PDF
Hi Pete,
Thanks for your response. I have tried with FOP 0.95 version, the same
problem is coming.
I have generated the barcodes previously using trunk, don't know why it
is failing now.
Thanks,
Venkat.
Pete Allison wrote:
I'm using 0.94. It seems to generate correcty for me. I've
Venkat,
most probably, Barcode4J is not in the classpath. See also:
http://barcode4j.sourceforge.net/2.0/fop-ext.html#Setting+up+the+barcode+extension+with+Apache+FOP+0.93+or+later
Barcode4J is not (yet) bundled with FOP.
On 11.02.2010 16:43:50 Venkat Reddy wrote:
Hi Pete,
Thanks for your
Hi Jeremias,
Jeremias Maerki wrote:
Venkat,
most probably, Barcode4J is not in the classpath. See also:
http://barcode4j.sourceforge.net/2.0/fop-ext.html#Setting+up+the+barcode+extension+with+Apache+FOP+0.93+or+later
Barcode4J is not (yet) bundled with FOP.
Yes, I have missed the jar in
Read up on SAX parsers, in the JAXP documentation, which is part of
the JEE documentation.
In this case the XML file is only virtual. It is constructed by your
code in the form of SAX parser events. This is a fairly basic manner
to do things. I do not know the other suggestions such as Velocity
11 matches
Mail list logo