RE: Does render(dom) actually work?

2001-09-19 Thread Shkuro, Yuri
Matt, Why don't you do it all in one pass? I have a servlet, that calls some bean to get XML document in a DOM format (actually JDOM), then registers fop driver as receiver of SAX events and runs XSLT on the JDOM tree. // 1. Generate XML tree Document xmlSummary =

RE: Generating PDF on Fly

2001-09-21 Thread Shkuro, Yuri
Yes. See attached JSP. Without a parameter it reads static XML file and displays it in HTML format, with 'fo' parameter it reads the .fo file and displays PDF, and also has a link to display static XML as PDF. It's easy to modify this to read external XML file and output PDF. It used to work

RE: FOP WARNING

2001-09-24 Thread Shkuro, Yuri
Two problem with this approach. First, you are using a lot of memory to store intermediate XML result in a string buffer. Second, you have to parse that XML again (FOP will do it for you, but it takes time). A better solution, as I already said before, is to register FOP as a receiver of SAX

RE: Problems with embedding graphics using fo:instream-foreign-object and svg...

2001-10-18 Thread Shkuro, Yuri
Could somebody please point out what is the benefit of using fo:instream-foreign-object...svg:image ... instead of fo:external-graphic ... ? Thanks, YS -Original Message- From: Beer, Christian [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18, 2001 4:02 AM To: Fop-liste

RE: Problems with embedding graphics using fo:instream-foreign-object and svg...

2001-10-18 Thread Shkuro, Yuri
to embed the graphs (as SVG images) inline rather then creating .svg files and then deleting them after generating the PDFs. Jim -Original Message- From: Shkuro, Yuri [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18, 2001 8:27 AM To: '[EMAIL PROTECTED]' Subject: RE: Problems

RE: making pdf by combining different xml files???

2001-10-23 Thread Shkuro, Yuri
Why do you need entities in FOP input? If you use different stylesheets for different chapters, write a Makefile to XSLT them into fo files, then merge and feed into FOP. If you use the same XSL for all chapters, then you can use xsl:include to pull all chapters into a single XML file and

RE: DO NOT REPLY [Bug 4377] New: - JDK 1.1 non-compliance

2001-10-23 Thread Shkuro, Yuri
JDK 1.1 support was voted to be discontinued about a month ago. You may find relevant discussion in the list archive. Please invalidate your bug report. YS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 3:46 PM To: [EMAIL

RE: Making PDFby combining different XML files???

2001-10-24 Thread Shkuro, Yuri
the book pdf. as per the above commandline i'm inputting .xml and .xsl(eventhough using the xsl-fo tags). how i make pdf of a book ,if there are two chapter xml files...chapter1.xml chapter2.xml using fop with the same .xsl file for styling. please take cocern. regards sunitha --- Shkuro, Yuri

RE: Table Column-Headers

2001-10-29 Thread Shkuro, Yuri
Chris, I am using fo:table-caption successfully. Not sure what kind of feedback you are looking for. BTW, I don't know what you mean by fo:table-caption can host a table - it should contain row definitions, just as fo:table-body, with the same number of columns (the columns widths will be

RE: Table Column-Headers

2001-10-29 Thread Shkuro, Yuri
Sorry, what I said applies to f:table-header, which I am using. Don't know about table-caption. -Original Message- From: Shkuro, Yuri Sent: Monday, October 29, 2001 9:42 AM To: '[EMAIL PROTECTED]' Subject: RE: Table Column-Headers Chris, I am using fo:table-caption successfully

RE: NameSpace??

2001-10-30 Thread Shkuro, Yuri
I had this problem when I had old IBM's parser.jar hanging around in the classpath. Even putting xerces.jar in front didn't help, I had to explicitely set up the parser factory: System.setProperty( javax.xml.parsers.SAXParserFactory, org.apache.xerces.jaxp.SAXParserFactoryImpl ); However,

RE: Question on XSLTInputHandler

2001-11-13 Thread Shkuro, Yuri
If your string XML is going to be run through XSLT like Xalan, it WILL BE parsed anyway, and most likely it will be parsed using a SAX parser (the default Xalan behavior). Therefore there is no overhead whatsoever compared to what you would do in any other solution. In fact, if you look at the

RE: New FOP Code Don't Work

2001-11-19 Thread Shkuro, Yuri
? I could not get driver.setLogger(logger); to compile. The versions I have of FOP (0.19 and 0.20.1) do not have a org.apache.fop.apps.Driver.setLogger(org.apache.log.Logger) method. I am using Xalan/Xerces, does this matter? Jim -Original Message- From: Shkuro, Yuri [mailto:[EMAIL

RE: servlet called thrice on IE 4.0

2001-11-20 Thread Shkuro, Yuri
I can't specify the source of this advice exactly, because I forgot it (it was somewhere on Microsoft's website), but what the article said was that when IE sends these multple requests, they are actually different in something like UserAgent http header (a better header they couldn't find!).

RE: Table Layout with Page Breaks

2001-10-11 Thread Shkuro, Yuri
I think what Chris was asking is what needs to be done to make sure the table that doesn't fit on a page is started from the next page. I have a similar need. So far I just used table-header to at least make sure that even if the table crosses the page, at least the header will be repeated, but

RE: Table Layout with Page Breaks

2001-10-12 Thread Shkuro, Yuri
Corinna, Indeed, keep-with-next does work when set for each row. But you scared me with the endless loop comment, so for now I would keep my stylesheets the way I had them. Somewhat related question: I am using space-before for those short tables to leave some white space between them, but

RE: Table Headings

2001-10-15 Thread Shkuro, Yuri
PROTECTED]' Subject: RE: Table Headings Have one of the cells wrap text so it grows taller than the other cells. Then you'll see the problem. Scott -Original Message- From: Shkuro, Yuri [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:47 PM To: '[EMAIL PROTECTED]' Subject: RE

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Shkuro, Yuri
I used JSP to stream out PDF files successfully. What may be happenning in your case is that the whitespace between %!% %% is written to the output stream before you start writing the PDF content. Try calling clearBuffer() on the output stream first. YS -Original Message- From: