Re: Need your HELP - Compile Error

2002-05-29 Thread Ali_Binus
Thanks J.Pietschmann , It's work. Terima kasih, Ali - Original Message - From: J.Pietschmann <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 29, 2002 2:16 AM Subject: Re: Need your HELP - Compile Error [EMAIL PROTECTED] wrote: > I am new in XMl and XSL, I want to pro

Re: Need your HELP - Compile Error

2002-05-29 Thread ewitness - Ben Fowler
At 9:16 pm +0200 28/5/02, J.Pietschmann wrote: >[EMAIL PROTECTED] wrote: >>I am new in XMl and XSL, I want to produce PDF output from XML and XSL using >>FOP. I tried to compile source code (Shakespearean Sonnet) that i found in : >>http://www-106.ibm.com/developerworks/education/transforming-xml/x

Re: background-color in fo:inline

2002-05-29 Thread Ramesh Suribhatla
Dear Mr. Pietschmann, Thank you for your advice. I will try to work on this using SVG. Ramesh --- "J.Pietschmann" <[EMAIL PROTECTED]> wrote: > Ramesh Suribhatla wrote: > > The background color is not being displayed when I > > include the background-color attribute in > fo:inline. > > It works

Re: Need your HELP - Compile Error

2002-05-29 Thread Ali_Binus
Yeah you ar right too, from that source "xsl code" using : To: <[EMAIL PROTECTED]> Sent: Wednesday, May 29, 2002 10:43 AM Subject: Re: Need your HELP - Compile Error At 9:16 pm +0200 28/5/02, J.Pietschmann wrote: >[EMAIL PROTECTED] wrote: >>I am new in XMl and XSL, I want to produce PDF output

Re: Images with Hyperlink

2002-05-29 Thread Ramesh Suribhatla
Hi Mr. Pietschmann and Mr. Mitchell, I would like thank you for the advice. My project involves coverting a HTML page into a PDF and the user can have images in any format. Anyhow, the idea of unicode-art is quite interesting. Ramesh --- "J.Pietschmann" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTEC

RE: Image source

2002-05-29 Thread Vikram Goyal01
Hi, Thanks for this explanation. This means that I can have an xsl stylesheet and place fo namespace tags within it to combine the two steps right? Rgs Vikram -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 29, 2002 12:20 AM To: [EMAIL PROTECTED] S

Render region-body on top of region-before?

2002-05-29 Thread Rick Goeltz
FOP'ers: Is is possible to have the region-body render on top of region-before? I need to put some information into the first-page header area, which is implemented as an image. Thanks! Rick

Re: Images with Hyperlink

2002-05-29 Thread Keiron Liddle
Hi Ramesh, As mentioned before what you are trying is not supported. I was going to say you could use svg to have a link around an image but it appears that there are a couple of bugs. On Tue, 2002-05-28 at 08:55, Ramesh Suribhatla wrote: > Hi, > > I am having a problem to create a hyperlink to

Re: CSS to FOP

2002-05-29 Thread Oleg Tkachenko
J.Pietschmann wrote: The biggest problem appears to be to implement a proper parser for the CSS syntax. That's not a problem indeed, there is already some kind of standard about this: "SAC: Simple API for CSS" [1] and c, java and perl implementations [2], btw, batik css parser is among them. [1

Trouble with Pound signs

2002-05-29 Thread Ian Taylor
I am encoding both the xml and xsl with UTF-8 and have had no problems with rendering a pound sign, £, on our local machines. However when this was tested on other machines the pound sign turned into a square box. What can I do to make sure that pound signs are always rendered on any platform?

Re: Trouble with Pound signs

2002-05-29 Thread Markus Wiese
Try the appropriate Unicode "Escape Sequence". Something like £ might help. At least it works for the Euro Sign (€) for me. markus -Ursprüngliche Nachricht- Von: Ian Taylor <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Datum: Mittwoch, 29. Mai 2002 13:14 Betreff: Trouble wi

xsl:script and FOP

2002-05-29 Thread Marina Pérel
Hi! I would like to know if FOP implements the tag because i 'd like to insert into my XSL steelsheet some _javascript_'s code. My stylesheet looks like :

Re: xsl:script and FOP

2002-05-29 Thread Oleg Tkachenko
Marina Pérel wrote: I would like to know if FOP implements the tag because i 'd like to insert into my XSL steelsheet some javascript's code. Actually FOP has nothing to do with xsl transformation, it uses xalan for it. And xalan does support javascript extension functions, but not this way, the

Re: xsl:script and FOP

2002-05-29 Thread Jurgen . Rousseau
does not exist ! If you intend to implement some javascript (or others), just use ! Remember to replace < by <, > by > and & by & or you'll get plenty of errors !

Dynamic Image Results in Socket Error?

2002-05-29 Thread Rick Goeltz
FOP'ers: We have an fo:external-graphic that fetches a dynamic image from a servlet. On the first call, we get an error: "java.net.SocketException: Connection aborted by peer: socket write error". After that, evidently, FOP will call a second time and fetch the image. It appears that on some

Re: Dynamic Image Results in Socket Error?

2002-05-29 Thread Oleg Tkachenko
Rick Goeltz wrote: We have an fo:external-graphic that fetches a dynamic image from a servlet. On the first call, we get an error: "java.net.SocketException: Connection aborted by peer: socket write error". Who is claiming that - fop or servlet ? Could you provide full exception trace? It seem

Re: xsl:script and FOP

2002-05-29 Thread Joe Sytniak

Re: Dynamic Image Results in Socket Error?

2002-05-29 Thread Jeremias Maerki
Maybe I can explain some of it: Loading images in FOP is a two-stage process. First a URL connection is made to retrieve the header of the image. FOP wants to know how big the image is and so on. This is during layout. Then when FOP renders the layout to the target format (ex. PDF) it loads the im

Table and end of page ( region-after )

2002-05-29 Thread stephane suisse
Hi there, I encounter the following problem : on each pages where a table begins ( table with a footer and a great number of pages ), the table overlaps the page's footer ( region-after ) , however the parameters of the simple-page-master seem to be good. Does anyone know why ?? Thank you

Re: Dynamic Image Results in Socket Error?

2002-05-29 Thread Rick Goeltz
FOP'ers: [Oleg Tkachenko said...] > Who is claiming that - fop or servlet ? Right, good question. The socket exception was logged by the servlet. [Jeremias Märki said...] > Loading images in FOP is a two-stage process. Ah, thank you so much. Therefore, it is not an error to be solved. I'd like de

Who uses MIF-Renderer?

2002-05-29 Thread Robert Wachter
Is anybody out there, who uses fop to generate MIF-files? I tried to do it, but with very littled sucess. At first I had the version 0.20.3rc, and mif didn't work at all. Then I got 0.20.3 (without rc). With this version, a MIF-file is generated, but it looks very (!) poor. I tried the simple.fo of

design help for multiple output formats?

2002-05-29 Thread Phillip Rhodes
Hi. I have created a html document as a result of an xsl transformation. All of the content is contained in an xsl file (which is built dynamically from a database and programming). The content (xsl) contains a lot of xsl-commands that do variable interpolation for the report content (e.g. De

NoClassDefFoundError - SVGDocument

2002-05-29 Thread John Fletcher
Hello all, I'm trying to embed fop in a jsp page, but get the following error: java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument at org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.jav a:46) at org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:109)

Newbie problem(?):Deployment problems running FopServlet

2002-05-29 Thread David McCormick
I've searched the archives for an answer to this without any luck, so I've deployed the sample FopServlet on Tomcat 4.0 and it works just fine. When I deploy it to Oracle9iAS (Orion), I get this message: org.apache.fop.apps.FOPException: Root element must be root, not (none): at org.a

Re: Render region-body on top of region-before?

2002-05-29 Thread J.Pietschmann
Rick Goeltz wrote: Is is possible to have the region-body render on top of region-before? I need to put some information into the first-page header area, which is implemented as an image. Apparently not. You can put the image in an absolutely positioned fo:block-container:

page break problem

2002-05-29 Thread Bill Collins
I have a xsl-fo with block-containers that are absolute-positioned. Is there a way to page break when the block contained within the block-container is full (overflow). Example: Thanks, Bill

Re: Trouble with Pound signs

2002-05-29 Thread J.Pietschmann
Ian Taylor wrote: I am encoding both the xml and xsl with UTF-8 and have had no problems with rendering a pound sign, £, on our local machines. However when this was tested on other machines the pound sign turned into a square box. Usually this means the font on the target machine does not conta

Re: design help for multiple output formats?

2002-05-29 Thread Chuck Paussa
Phillip, What we've done is perform all of the non-output-format transformations into an intermediate node-set. e.g.: Dear Here's some content And then write a set of output-specific transformations Chuck Phillip Rhodes wrote: Hi. I have created a html document as

Re: Image source

2002-05-29 Thread J.Pietschmann
Vikram Goyal01 wrote: This means that I can have an xsl stylesheet and place fo > namespace tags within it to combine the two steps right? I'm not sure you have the right picture. The following is a file containing formatting objects for a simple greeting, or short FO, by convention getting the fil

Re: Table and end of page ( region-after )

2002-05-29 Thread J.Pietschmann
stephane suisse wrote: I encounter the following problem : on each pages where a table begins ( table with a footer and a great number of pages ), the table overlaps the page's footer ( region-after ) , however the parameters of the simple-page-master seem to be good. ... Does anyone know why ?

Re: NoClassDefFoundError - SVGDocument

2002-05-29 Thread J.Pietschmann
John Fletcher wrote: The .fo file that I am using works fine from the command line. I'm using mandrake linux with jdk1.4 and tomcat 4.0.3. Batik.jar contains an org.w3c.dom.svg.SVGDocument, and batik.jar is definitely in my classpath, as well as in the WEB-INF/lib directory of Tomcat. Does anyon

Re: Newbie problem(?):Deployment problems running FopServlet

2002-05-29 Thread J.Pietschmann
David McCormick wrote: I've searched the archives for an answer to this without any luck, so I've deployed the sample FopServlet on Tomcat 4.0 and it works just fine. When I deploy it to Oracle9iAS (Orion), I get this message: org.apache.fop.apps.FOPException: Root element must be root, not (no

Re: page break problem

2002-05-29 Thread J.Pietschmann
Bill Collins wrote: I have a xsl-fo with block-containers that are absolute-positioned. Is there a way to page break when the block contained within the block-container is full (overflow). No. I understand the specification that the content in absolute positioned FO stays on the page on which the e

RE: Table and end of page ( region-after )

2002-05-29 Thread Roland Neilands
I have noticed perhaps the same thing in FOP 0.20.3: that the table length can vary slightly from page to page to accomodate the height of the last row, esp. where you have some long fields wrapping to the next row. This was less than the row height, so I allowed for it using margin-top & margin-bo

Embedding.... newbie problem....

2002-05-29 Thread Esteban Gonzalez
Hi! I´ve been trying to do some xml --> pdf transformation using FOP. When I run FOP manually everything is wonderful, but i don´t seem to really understand how to embeed it in a running app. The problem is with the input Source .. I have both the xml file and the xsl file as org.w3c.dom.Document

Re: NoClassDefFoundError - SVGDocument

2002-05-29 Thread John Fletcher
Thanks. I put the Batik jar into the Tomcat lib directory and it worked great. John Fletcher > John Fletcher wrote: > > The .fo file that I am using works fine from the command line. I'm using > > mandrake linux with jdk1.4 and tomcat 4.0.3. Batik.jar contains an > > org.w3c.dom.svg.SVGDocumen

Re: Embedding.... newbie problem....

2002-05-29 Thread J.Pietschmann
Esteban Gonzalez wrote: Hi! I´ve been trying to do some xml --> pdf transformation using FOP. When I run FOP manually everything is wonderful, but i don´t seem to really understand how to embeed it in a running app. The problem is with the input Source .. I have both the xml file and the xsl file