Print Servlet

2002-05-28 Thread Rick Delpo
Hi, I ranthe FOPPrintServlet with success. My servlet is on a server 2000 miles away. Why would we print to their server. Is there a way to twwek the code to make my print dialog come up on the client side?

how to use the system

2002-05-28 Thread Rick Delpo
how do I send a question into the user list? Where are the instructions? thanks

Re: how to use the system

2002-05-28 Thread Rick Delpo
looks like I just found out - Original Message - From: Rick Delpo To: [EMAIL PROTECTED] Sent: Monday, May 27, 2002 8:14 PM Subject: how to use the system how do I send a question into the user list? Where are the instructions? thanks

Re: how to use the system

2002-05-28 Thread Peter B. West
Rick Delpo wrote: how do I send a question into the user list? Rick, You just did. Peter

Re: Print Servlet

2002-05-28 Thread Jeremias Maerki
Not really. Not with a servlet. A servlet is a server based thing and it's not intended to provide GUI-interactive stuff. If you want to have access to the print dialog, you will have to install the printer drivers locally, run FOP locally and transfer the generated print stream to the remote

Images with Hyperlink

2002-05-28 Thread Ramesh Suribhatla
Hi, I am having a problem to create a hyperlink to an image. The HTML and the corresponding FO generated are as below. a href=http://www.sun.com; img border=0 src=lgsun.gif alt=Sun /a fo:basic-link external-destination = http://www.sun.com; fo:external-graphic src =

background-color in fo:inline

2002-05-28 Thread Ramesh Suribhatla
Hi, The background color is not being displayed when I include the background-color attribute in fo:inline. It works fine for fo:block. Is this supported by FOP 0.20.2. If not, is there a way about? Thank you, Ramesh __ Do You Yahoo!? Yahoo! -

Thanks

2002-05-28 Thread Ramon Maria Gallart
Thanks all for the sources indicated. Ramon.

RE: Learning needeed

2002-05-28 Thread Henriksen Niels Kristoffer
Ramon, you should also consider spending a while with http://www.ibiblio.org/xml/books/bible2 This site offers to sample chapters which I - just another beginner - found quite useful. They cover XSL transformations and XSL Formatting Objects in turn. Kind regards - Niels.

Newbie - Dynamic data in .fo file

2002-05-28 Thread Vikram Goyal01
Hi all, I need to pick data for my .fo file from another xml. How do I do this? Do I need to transform it again? I have searched the mailing list but cant seem to find the answer (maybe using wrong keywords, dynamic data ??). BTW, Why is there no fop user mailing list at mail-archive? Its

Re: Newbie - Dynamic data in .fo file

2002-05-28 Thread Denis Thierry
Hi, Did you try something like document('urltoyourxmlfile') in your fo file? This should insert your xml doc into your fo file ... - Original Message - From: Vikram Goyal01 To: [EMAIL PROTECTED] Sent: Tuesday, May 28, 2002 10:21 AM Subject: Newbie - Dynamic data in

Need your HELP - Compile Error

2002-05-28 Thread Ali_Binus
Dear all, 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/xmltopdf/in dex.html here are the result when i tried to compile :

Re: Newbie - Dynamic data in .fo file

2002-05-28 Thread Jeremias Maerki
You can improve the use of the document() function if you do something like that: document('urltoyourxmlfile')/mystuff/entry[position() = 3]/text which basically means that you can append an XPath statement to further restrict the content to be included. I use this to include language dependant

Re: Image source

2002-05-28 Thread Ralf Steppacher
i would like to know is how can i tell xsl that i want an image whose name is in a xml tag? For example: in the xml... img namenameOfImage.jpg/name /img... in the xsl... fo:block fo:external-graphic src=(here should go the name of the

AW: Image source

2002-05-28 Thread Kai Ulrich
try in the xml... img namenameOfImage.jpg/name /img... in the xsl... xsl:template match="img" fo:block fo:external-graphic src=""/ /fo:block /xsl:template In my Application it just worked with the absolut image-path ! Don't knew why ! Greatings kai

RE: Image source

2002-05-28 Thread Vikram Goyal01
This might also answer my question regarding dynamic text. Could you just clarify if by the xsl file here, you mean the .fo file? Can I have xsl tags in my .fo file? Rgs Vikram -Original Message-From: Kai Ulrich [mailto:[EMAIL PROTECTED]Sent: Tuesday, May 28, 2002 3:54 PMTo:

RV: Image source

2002-05-28 Thread Ramon Maria Gallart
I've tried it and works!! Ramon -Mensaje original-De: Kai Ulrich [mailto:[EMAIL PROTECTED]Enviado el: martes, 28 de mayo de 2002 12:24Para: [EMAIL PROTECTED]Asunto: AW: Image source try in the xml... img namenameOfImage.jpg/name /img... in the xsl...

Exception while running xml examples

2002-05-28 Thread Vikram Goyal01
Hi all, I am trying to convert the xml docs into pdf using command line. I get the following error on output: [ERROR]: 'master-reference' for 'fo:page-sequence'matches no 'simple-page-master ' or 'page-sequence-master' The command that I gave was: D:\fop-0.20.3fop -xsl

RE: Exception while running xml examples

2002-05-28 Thread Vikram Goyal01
Hi Denis, I am using the xml2pdf.xsl which comes as part of the download. I have not changed anything in it, except the property master-name to master-reference. I get the same error. If I misspell the master -reference, it ignores it and generates the pdf but its an incomplete pdf.

RE: Exception while running xml examples

2002-05-28 Thread Vikram Goyal01
Yes, I did change it, but its still not working. -Original Message- From: Ramon Maria Gallart [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 28, 2002 7:07 PM To: [EMAIL PROTECTED] Subject: RE: Exception while running xml examples Sorry, i hadn't read until the end. I had the same problem

RE: Exception while running xml examples

2002-05-28 Thread Vikram Goyal01
Oooppss. Sorry figured out. In my haste to change the master-name to master-sequence, I changed the master-name of the page master to master-sequence as well. Sorry for the trouble. Rgs Vikram -Original Message-From: Denis Thierry [mailto:[EMAIL PROTECTED]Sent: Tuesday, May

RE: Exception while running xml examples

2002-05-28 Thread Vikram Goyal01
Yes Thanks for this Ramon. I made an error in my xsl. Rgs Vikram -Original Message- From: Ramon Maria Gallart [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 28, 2002 7:21 PM To: [EMAIL PROTECTED] Subject: RE: Exception while running xml examples This is the file i used after the

RE: Exception while running xml examples

2002-05-28 Thread Ramon Maria Gallart
I've also made lots of them... ;-) It's always funny start with something. Ramon -Mensaje original- De: Vikram Goyal01 [mailto:[EMAIL PROTECTED] Enviado el: martes, 28 de mayo de 2002 15:50 Para: [EMAIL PROTECTED] Asunto: RE: Exception while running xml examples Yes Thanks for this

RE: Exception while running xml examples

2002-05-28 Thread Vikram Goyal01
True, except when the boss is behind your back. :) -Original Message- From: Ramon Maria Gallart [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 28, 2002 7:25 PM To: [EMAIL PROTECTED] Subject: RE: Exception while running xml examples I've also made lots of them... ;-) It's always funny

Re: 0.20.3 gives odd results with some fonts

2002-05-28 Thread Christian Geisert
Cyril Rognon schrieb: Hi Ronald, I think this was an error in the former FOP version. If you use unicode values of the needed character everything works perfectly with 0.20.3RC or 0.20.3... Yes, just have a look at docs/examples/fo/fonts.fo Christian

Re: background-color in fo:inline

2002-05-28 Thread J.Pietschmann
Ramesh Suribhatla wrote: The background color is not being displayed when I include the background-color attribute in fo:inline. It works fine for fo:block. Is this supported by FOP 0.20.2. If not, is there a way about? The background-color property of fo:inline is not yet implemented as of FOP

Re: Newbie - Dynamic data in .fo file

2002-05-28 Thread J.Pietschmann
Jeremias Maerki wrote: document('urltoyourxmlfile')/mystuff/entry[position() = 3]/text ... If you wrap the result using node-set() function (See Xalan documentation) you can even apply templates from your stylesheet to it. No need for doing this: xsl:apply-templates

Re: Image source

2002-05-28 Thread J.Pietschmann
Vikram Goyal01 wrote: This might also answer my question regarding dynamic text. Could you just clarify if by the xsl file here, you mean the .fo file? Can I have xsl tags in my .fo file? Producing a PDF file from arbitrary XML is a two stage process. The first stage is the transformation from

Re: 0.20.3 gives odd results with some fonts

2002-05-28 Thread J.Pietschmann
ronald heller wrote: fo:block space-after=0pt fo:inline text-decoration=none font-family=Times RomanM/fo:inline fo:inline text-decoration=none font-family=SymbolM/fo:inline fo:inline text-decoration=none font-family=ZapfDingbatsM/fo:inline /fo:block With fop 0.20.3RC all

RE: FW: Window name defaulting to How we call the servlet. PDF St ream passed to a browser

2002-05-28 Thread Caroline Prefontaine
Sorry I should of mentioned I did try that and it does change it but when the pdf is loaded it seems to loose the title and puts the way I called the servlet as the window name. Is there a way in Javascript to tell when a PDF has finished loading up. -Original Message- From:

Re: CSS to FOP

2002-05-28 Thread J.Pietschmann
Robert C. Leif wrote: From: Bob Leif Is there a CSS to XSL FO Translator? What, actually, should be the result of a CSS-XSLFO translation? CSS declares styles for content found elsewhere, for example in a HTML file. J.Pietschmann

Re: FW: Window name defaulting to How we call the servlet. PDF St ream passed to a browser

2002-05-28 Thread J.Pietschmann
Caroline Prefontaine wrote: Sorry I should of mentioned I did try that and it does change it but when the pdf is loaded it seems to loose the title and puts the way I called the servlet as the window name. Is there a way in Javascript to tell when a PDF has finished loading up. Dunno. Ask on a

Re: Images with Hyperlink

2002-05-28 Thread J.Pietschmann
Ramesh Suribhatla wrote: I am having a problem to create a hyperlink to an image. You are trying to use an image as a hot spot for a link. This is currently not supported by FOP. You can only use text. There is no really good workaround. J.Pietschmann

Re: Images with Hyperlink

2002-05-28 Thread Jeff_Mitchell
Perhaps ASCII-art (unicode-art?) would suffice... (All apologies if you feel I'm diluting the content of this mailing list. I thought for quite a while about sending this, and decided to chance it. If it was a mistake, please let me know, and I won't make it again.) -Jeff

Re: CSS to FOP

2002-05-28 Thread J.Pietschmann
Robert C. Leif wrote: Presently XML documents can be formatted by either cascading style sheets, CSS, or XSL FO. When I have an application that outputs a CSS, I would like to convert the CSS to an XSL style sheet. This would permit upgrading a large number of legacy documents. XSL FO is an XML