Print Servlet

2002-05-28 Thread Rick Delpo
Hi,    I ran the 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 site

Re: Learning needeed

2002-05-28 Thread Oliver Masutti
Ramon Maria Gallart wrote: Hi all! I want to learn how to use FOP well and all the relatied technology behind it (from xml to xsl to fo, etc...). Does anyone of you know where can i find practical examples on how to create documents using xml, transform'em with xsl and then create pdfs from

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. http://www.sun.com";> http://www.sun.com";> The image is being shown in PDF but it is not having a link. Is this FO OK? If not, can you please tell me what is wrong

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! - Offi

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. -Origin

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 searc

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 : i

RE: Newbie - Dynamic data in .fo file

2002-05-28 Thread Vikram Goyal01
Hi Denis,   Thanks for your reply. The problem is that I need to replace certain place holders in my .fo file with corresponding tags in the xml file. I dont need to dump the whole xml file in the fo file. For eg: To:   is in the fo file, and the client name is in the xml file as a tag.

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

Image source

2002-05-28 Thread Ramon Maria Gallart
    Hi all!       As I said yesterday in a previous message, i'm new to xml, xsl and so on, so please be patient. Thanks.         Well, the thing is that with all the documentation gathered thanks to all the answers i got yesterday i've been able to construct a xsl style sheet to produce a

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... nameOfImage.jpg ... in the xsl... ... You could do something like:

AW: Image source

2002-05-28 Thread Kai Ulrich
try in the xml...         nameOfImage.jpg     ...   in the xsl...                 In my Application it just worked with the absolut image-path ! Don't knew why !   Greatings kai    -Ursprüngliche Nachricht-Von: Ramon Maria Gallar

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...         nameOfImage.jpg     ...   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.3>fop -xsl .\docs\xml-docs\xml2pdf.

RE: Exception while running xml examples

2002-05-28 Thread Ramon Maria Gallart
I think that it is because you have something like this: and it would be like this: hope it helps. Ramon. -Mensaje original- De: Vikram Goyal01 [mailto:[EMAIL PROTECTED] Enviado el: martes, 28 de mayo de 2002 15:28 Para: [EMAIL PROTECTED

RE: Exception while running xml examples

2002-05-28 Thread Ramon Maria Gallart
Sorry, i hadn't read until the end. I had the same problem at the beginning, but i solved it that way. Ramon -Mensaje original- De: Vikram Goyal01 [mailto:[EMAIL PROTECTED] Enviado el: martes, 28 de mayo de 2002 15:28 Para: [EMAIL PROTECTED] Asunto: Exception while running xml exa

Re: Exception while running xml examples

2002-05-28 Thread Denis Thierry
Hi,   It just means that you made something wrong in your xsl file. When you declare a page sequence you have to reference it against a master page defined earlier in your xsl file ... That's the way it knows the overall layout to use for the page sequence ...  Hence you need to open your 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 a

RE: Exception while running xml examples

2002-05-28 Thread Ramon Maria Gallart
This is the file i used after the change... this file worked with the example xml 'xslfoRef.xml'. Hope it helps Ramon. -Mensaje original- De: Vikram Goyal01 [mailto:[EMAIL PROTECTED] Enviado el: martes, 28 de mayo de 2002 15:43 Para: [EMAIL PROTECTED] Asunto: RE: Exception while running

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, Ma

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 change...

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 Ram

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 star

Re: Exception while running xml examples

2002-05-28 Thread Denis Thierry
Vikram,   Your xsl file must start with the following:    http://www.w3.org/1999/XSL/Format">      page-height="29.7cm"   page-width="21cm"  margin-top="1.5cm"   margin-bottom="2cm"   margin-left="2.5cm"   margin-rig

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

2002-05-28 Thread Caroline Prefontaine
> I call a servlets which renders a pdf stream to the browser. My question > is the window name defaults > to how I called the servlet I need for it to be more specific as to what > type of report I'm displaying > because our users need to email these reports and it seems that it takes > the wi

0.20.3 gives odd results with some fonts

2002-05-28 Thread ronald heller
Hi there, Today I update my FOp version from 0.20.3RC to 0.20.3 and I discovered that my document containing characters in fonts like symbol and ZapfDingbats, suddenly had lost almost every character. Consider the following: M M M With fop 0.20.3RC

CSS to FOP

2002-05-28 Thread Robert C. Leif
From: Bob Leif Is there a CSS to XSL FO Translator?

Re: 0.20.3 gives odd results with some fonts

2002-05-28 Thread Cyril Rognon
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... Cyril At 17:13 28/05/2002 +0200, you wrote: Hi there, Today I update my FOp version from 0.20.3RC to 0.20.3 and I discovered th

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 0.2

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: works. You can even do ... or whatever. Usin

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 the

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

2002-05-28 Thread J.Pietschmann
Caroline Prefontaine wrote: >>I've tried to set reponse.setHeader("Content-Disposition", >>"filename=myfile.pdf"); that still doesn't work. Is there a way in >>creating the FO file to set the title of the document or of the window the >>PDF will open into. No. function loadPdf(){ var url = documen

Re: 0.20.3 gives odd results with some fonts

2002-05-28 Thread J.Pietschmann
ronald heller wrote: M M M With fop 0.20.3RC all characters were poperly shown. With this new version I get the unknown character symbol. What's going on here? You try to display the character "M" in the fonts "Symbol" and "ZapfDingbats". Chances are that there is no glyph for th

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: J.Pietschm

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 list

RE: CSS to FOP

2002-05-28 Thread Robert C. Leif
From: Robert C. Leif To: J.Pietschmann 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. Th

Re: Need your HELP - Compile Error

2002-05-28 Thread J.Pietschmann
[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/xmltopdf/in dex.html here are the result when i tried t

Re: Question about watermarking in FOP.

2002-05-28 Thread J.Pietschmann
[EMAIL PROTECTED] forwarded: I saw you answer on the FOP-user forum about using an image in REGION-BEFOR as a substitution for watermark. I tried this technique and it worked. But I still have a problem, because the image appears on the top of text in the main body, i.e. I cannot see text behind th

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 voc

Re: Images with Hyperlink

2002-05-28 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: 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.) Everybo