0.20.5 XP and SVG

2005-12-07 Thread Peter B. West
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/

Re: 0.20.5 XP and SVG

2005-12-07 Thread Jeremias Maerki
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]

Re: 0.20.5 XP and SVG

2005-12-07 Thread Peter B. West
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]

Re: 0.20.5 XP and SVG

2005-12-07 Thread Peter B. West
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]

Re: Excel format

2005-12-07 Thread Louis . Masters
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

Re: Excel format

2005-12-07 Thread Craig McDaniel
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

Re: Page Sequences

2005-12-07 Thread Clifton Craig
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

How to pass input of xml tranfs. to xslt transf. ?

2005-12-07 Thread Peter . Neu
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

Re: How to pass input of xml tranfs. to xslt transf. ?

2005-12-07 Thread Glen Mazza
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

Re: XSLTC template problem

2005-12-07 Thread Johan
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

Re: Page Sequences

2005-12-07 Thread Andreas L Delmelle
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

Re: How to pass input of xml tranfs. to xslt transf. ?

2005-12-07 Thread Peter . Neu
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();

Re: How to pass input of xml tranfs. to xslt transf. ?

2005-12-07 Thread Jeremias Maerki
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

Re: Q: How to define a minimal table length?

2005-12-07 Thread J.Pietschmann
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

Re: Q: How to define a minimal table length?

2005-12-07 Thread Jeremias Maerki
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

Re: How to pass input of xml tranfs. to xslt transf. ?

2005-12-07 Thread J.Pietschmann
[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?

Re: Page Sequences

2005-12-07 Thread Clifton Craig
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,

group-by

2005-12-07 Thread thomas . maciejewski
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

Re: How to pass input of xml tranfs. to xslt transf. ?

2005-12-07 Thread Jeremias Maerki
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

Re: How to pass input of xml tranfs. to xslt transf. ?

2005-12-07 Thread Peter . Neu
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