I'm trying to output an SVG image as an fo:external-graphic. I'm
getting the following:
Exception in thread main java.lang.NoSuchMethodError:
org.apache.batik.bridge.
UnitProcessor.createContext(Lorg/apache/batik/bridge/BridgeContext;Lorg/w3c/dom/
Make sure you're using the Batik version that comes with FOP 0.20.5.
Newer versions of Batik have a backwards-incompatible change in the API.
The alternative is to use the maintenance branch [1] where the necessary
adjustments have been made.
[1]
Jeremias Maerki wrote:
Make sure you're using the Batik version that comes with FOP 0.20.5.
Newer versions of Batik have a backwards-incompatible change in the API.
The alternative is to use the maintenance branch [1] where the necessary
adjustments have been made.
[1]
Peter B. West wrote:
Jeremias Maerki wrote:
Make sure you're using the Batik version that comes with FOP 0.20.5.
Newer versions of Batik have a backwards-incompatible change in the API.
The alternative is to use the maintenance branch [1] where the necessary
adjustments have been made.
[1]
We currently do this in our production
system using SpreadsheetML and HTML. We use SpreadsheetML for newer
versions of Excel and HTML with some proprietary MS XML for Excel for Win2K
or lower.
The process is as follows:
1. Generate your XML data file
and parse it using the parser of
On 12/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
We currently do this in our production system using SpreadsheetML and HTML.
We use SpreadsheetML for newer versions of Excel and HTML with some
proprietary MS XML for Excel for Win2K or lower.
The process is as follows:
1. Generate
Andreas,
Thanx for your reply. Yes I do want to ultimately make it look like it did
when I just dumped the entire report body under one page sequence, however I
cannot use one page sequence due to memory overflow issues. I'm still a
little concerned as to why I'm having memory overflow if it
Hello,
I struggling to create a webapps that creates pdf's for xml documents. The
problem is: I can't pipe the output of my SAX transformation to the
XSLTInputHandler.
My code uses a static xsl document and dynamic xml documents. For
demonstration purposes I create the xml file on the local
Don't use XSLTInputHandler. Use JAXP[1] instead.
Glen
[1] http://xmlgraphics.apache.org/fop/0.20.5/embedding.html#examples
[EMAIL PROTECTED] wrote:
Hello,
I struggling to create a webapps that creates pdf's for xml documents. The
problem is: I can't pipe the output of my SAX transformation
xsl:template match=/
...
fo:page-sequence ...
xsl:apply-templates select=whatever-nodes /
/fo:page-sequence
/xsl:template
xsl:template match=whatever-nodes
fo:table ...
!-- maybe some more xsl:apply-templates or xsl:call-template
here... --
/fo:table
On Dec 7, 2005, at 16:12, Clifton Craig wrote:
Hi,
Thanx for your reply. Yes I do want to ultimately make it look like
it did
when I just dumped the entire report body under one page sequence,
however I
cannot use one page sequence due to memory overflow issues.
I'm still a little
Hi Glenn
did you mean this example? Taken from [1]. Does this work in a webapp?
//Setup output
OutputStream out = new java.io.FileOutputStream(pdf);
try {
driver.setOutputStream(out);
//Setup XSLT
TransformerFactory factory = TransformerFactory.newInstance();
Yes, that's basically it, though ExampleObj2PDF is a bit special.
ExampleXML2PDF is the more generic example. And yes, it works in a
webapp.
On 07.12.2005 21:39:58 Peter.Neu wrote:
Hi Glenn
did you mean this example? Taken from [1]. Does this work in a webapp?
//Setup output
Sander, Stefan wrote:
I want to create a table layout that displays my data nicely in
several columns and over several pages (if necessary) - no problem so
far. But the table should always end at the bottom of a page, so that
the table footer is always displayed at the same position, even if
Depending on your layout requirements you can make sure that all your
rows have the same height. You can use the height property for that, or
even better, the block-progression-dimension property, though that's
only available in FOP 0.90alpha1.
If you have differing row heights you're probably a
[EMAIL PROTECTED] wrote:
did you mean this example?
Yes.
Does this work in a webapp?
Yes. You have to use a ByteArrayOutputStream as a buffer
to set the content length HTTP header correctly (there
are many code samples on the net for this detail).
Why do do think it might not work?
On Wednesday 07 December 2005 3:46 pm, J.Pietschmann wrote:
Clifton Craig wrote:
I'm still a
little concerned as to why I'm having memory overflow if it is the norm
to use one page sequence for the report body as I've done.
Tables lock up objects used for content formatting for too long,
This may be slightly off topic but maybe someone could help me out.
I am confused about the group-by XSL functionality
xsl:for-each-group
select=xmlReportOutput/reportOutput/records/record
group-by=saxon:evaluate($sortColumn1)
xsl:sort
Pete,
I see. No, in this case you're not missing anything although you may not
need to rewrite your whole code just to accomodate the new pattern.
Generating XML using SAX events is one way to generate XML, a good way
but not necessarily the only one. Remember that JAXP is quite flexible
and that
Hello Jeremias,
good your are in the cet time zone,too ;o).
My code also uses sax so the refactoring process will not be that long.
Anyway it's always good to have a working example so I'll adapt to that.
I'll be back with details when I'm done refactoring.
cheers,
Pete
--- Ursprüngliche
20 matches
Mail list logo