Re: XML string input
Yes it is possible. u just write new org.xml.sax.InputSource(new java.io.StringBufferInputStream(String xmlString); i hope, it will solve ur problem. Cheers Raj - Original Message - From: Olivier Buisard To: [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 11:37 PM Subject: XML string input I would like to transform an XML string instead of an XML file. Is it possible? (maybe through InputSource?) Thanks for any help, Olivier.
How to draw a word
I can't figure how to draw a border around a word that is embedded in a sentence. Does anyone have an idea? That would help me very much indeed! Thank you Franck MARTIN
Problems running FOP
Hi, I have some difficulties running Fop and I´m trying to fix it for more than a day now. When I´m trying to start Fop from command line, it returns: Exception in thread main java.lang.NoClassDefFound Error: org/apache/avalon/framework/logger/loggable I was able to fix some similar Exceptions by adding various jar-files to the classpath, in fact I added (almost?) every jar-file... from avalon-framework-4.1.1.jar to xerces-jar, but it won´t help. I´m using fop-version 0.20.3 and I have installed xalan (which runs perfectly...). Can somebody please help?
Re: How to draw a border
Hi Marthin, There are some examples available from www.xrenderer.com tutorial for this.but i'm using fop to run that examples. Regards Balaji --- MARTIN Franck [EMAIL PROTECTED] wrote: I can't figure how to draw a border around a word that is embedded in a sentence. Does anyone have an idea? That would help me very much indeed! Thank you Franck MARTIN http://movies.yahoo.com.au - Yahoo! Movies - Vote for your nominees in our online Oscars pool.
Re: Problems running FOP
[EMAIL PROTECTED] wrote: Hi, I have some difficulties running Fop and I´m trying to fix it for more than a day now. When I´m trying to start Fop from command line, it returns: Exception in thread main java.lang.NoClassDefFound Error: org/apache/avalon/framework/logger/loggable This sounds like avalon-framework-4.0.jar is missing. I was able to fix some similar Exceptions by adding various jar-files to the classpath, in fact I added (almost?) every jar-file... from avalon-framework-4.1.1.jar to xerces-jar, but it won´t help. I´m using fop-version 0.20.3 and I have installed xalan (which runs perfectly...). Mmmh .. Fop should work out of the box from the commandline. All needed jars are in the lib/ directory and fop.bat/fop.sh adds them to the classpath. Which OS are you using? Can somebody please help? Christian
Antwort: Re: Problems running FOP
I´m using Windows NT 4.0 Service pack 6. And I´ve got the avalon-framework-4.1.1.jar in the classpath, which I added manually. I copied all jars to a directory and then added them all to the classpath (so I never really executed the fop.bat). Do you think this could cause the problems? Thanks Markus
Numbering lines
Is it possible to dynamically number lines in FO ? P. Andries
How print dot-matrix printers (TXTRenderer)
Hi FOP team, I'm using FOP for generating PDF's, but now I need use FOP to generate text files (txt) for dot-matrix printers using Epson ESC/P, and I have following questions: 1) I need create my own Renderer? if yes, what I need to share this with FOP-DEV 2) Can I do this with TXTRenderer? if yes, How put chars like CHR(27) CHR(18) in txt? Best regards Clóvis Wichoski Supridatta
Passing Parameters at the Command Line
I'm running fop (0.20.3) at the command line and would like to be able to pass it parameters much like I do with Xalan (testXSLT). With testXSLT, you can pass parameters with the following syntax: testXSLT -in source.xml -xsl transform.xsl -param name 'value' I would like to be able to do the same with fop, but when I execute: ./fop.sh -xml source.xml -xsl transform.xsl -param name 'value' -out out.pdf fop spits out the standard help screen and dies, claiming the renderer hasn't been set. I've tried various permutations of the invocation, including changing the quoting scheme around the parameter's value, though nothing changes the outcome. Has anyone run into this situation before? Know how I can pass parameters? Is it possible at this stage in FOP's development? Thanks, Rob ___ Robert Keith Brosnan [EMAIL PROTECTED] www.epimorphic.com 240.346.4472 520.832.2334 (fax) 1803 Biltmore St., NW Suite 703 Washington, DC 20009
RE: Passing Parameters at the Command Line
I'm not 100% certain but to me it looks like testXSLT is actually a call to Xalan. It is possible to call Xalan with parameters, using the -parameter switch. fop calls Xalan itself but has AFAIK no possibility to pass parameters to Xalan. A work around might be to write a shell script that calls a transformation first and then calls fop with the transformation result (a fo file) as input. HTH, Michiel $ -Original Message- $ From: Robert Brosnan [mailto:[EMAIL PROTECTED] $ Sent: woensdag 20 maart 2002 16:47 $ To: [EMAIL PROTECTED] $ Subject: Passing Parameters at the Command Line $ $ $ I'm running fop (0.20.3) at the command line and would like $ to be able $ to pass it parameters much like I do with Xalan (testXSLT). With $ testXSLT, you can pass parameters with the following syntax: $ $ testXSLT -in source.xml -xsl transform.xsl -param name 'value' $ $ I would like to be able to do the same with fop, but when I execute: $ $ ./fop.sh -xml source.xml -xsl transform.xsl -param name $ 'value' -out $ out.pdf $ $ fop spits out the standard help screen and dies, claiming the $ renderer $ hasn't been set. I've tried various permutations of the invocation, $ including changing the quoting scheme around the parameter's value, $ though nothing changes the outcome. $ $ Has anyone run into this situation before? Know how I can pass $ parameters? Is it possible at this stage in FOP's development? $ $ Thanks, $ Rob $ $ ___ $Robert Keith Brosnan $[EMAIL PROTECTED] $www.epimorphic.com $ $240.346.4472 $520.832.2334 (fax) $ $1803 Biltmore St., NW $Suite 703 $Washington, DC 20009 $
Error
I am using FOP 0.20.3 and continue getting this error message when I FOP from the DOS prompt. SEE ATTATCHMENT -John errorBMP.bmp attachment: errorBMP.bmp
RE: Error
Nice try, but this is not the issue -Original Message- From: Shaikh, Mehmood [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 8:05 AM To: '[EMAIL PROTECTED]' Subject: RE: Error fop -fo ab.fo -pdf ff.pdf -Original Message- From: Woods, John T. [mailto:[EMAIL PROTECTED] Sent: March 20, 2002 11:07 AM To: '[EMAIL PROTECTED]' Subject: Error I am using FOP 0.20.3 and continue getting this error message when I FOP from the DOS prompt. SEE ATTATCHMENT -John errorBMP.bmp
RE: Error
I get the error that says CVS DOES NOT WORK - DO NOT EXPECT ANYTHING I think I just need to download the correct build, etc. Can you give me a url? -Original Message- From: Shaikh, Mehmood [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 8:05 AM To: '[EMAIL PROTECTED]' Subject: RE: Error fop -fo ab.fo -pdf ff.pdf -Original Message- From: Woods, John T. [mailto:[EMAIL PROTECTED] Sent: March 20, 2002 11:07 AM To: '[EMAIL PROTECTED]' Subject: Error I am using FOP 0.20.3 and continue getting this error message when I FOP from the DOS prompt. SEE ATTATCHMENT -John errorBMP.bmp
Re: Error
On 2002.03.20 17:07 Woods, John T. wrote: I am using FOP 0.20.3 and continue getting this error message when I FOP from the DOS prompt. SEE ATTATCHMENT -John errorBMP.bmp try it with the debug parameter. that should shed some light on it.
RE: Error
This is what DEBUG tells me... SEE ATTATCH -John -Original Message- From: Mihael Knezevic [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 8:11 AM To: [EMAIL PROTECTED] Subject: Re: Error On 2002.03.20 17:07 Woods, John T. wrote: I am using FOP 0.20.3 and continue getting this error message when I FOP from the DOS prompt. SEE ATTATCHMENT -John errorBMP.bmp try it with the debug parameter. that should shed some light on it. attachment: errorBMP.bmp
Re: Error
At 2002-03-20 08:07 -0800, you wrote: I am using FOP 0.20.3 and continue getting this error message when I FOP from the DOS prompt. SEE ATTATCHMENT -John errorBMP.bmp Content-Type: image/bmp; name=errorBMP.bmp Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=errorBMP.bmp WARNING: The remainder of this message has not been transferred. The estimated size of this message is 1055156 bytes. Would you please *stop* sending 1Mb files over email? Those of us on dial-up connections and small ISP mail boxes can really get burned and it isn't netiquette to almost wipe us out with repeated mailings of this size. Thanks. . Ken -- Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002 - : 3-days XML Information Modeling: July 31-August 2, 2002 G. Ken Holmanmailto:[EMAIL PROTECTED] Crane Softwrights Ltd. http://www.CraneSoftwrights.com/m/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) ISBN 0-13-065196-6Definitive XSLT XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed), articles, training(instructor-live,Internet-live,web/CD,licensed) Next public training: 2002-04-08,09,10,11,05-06,07,09,10,13,20, -06-04,07,10,11,13,14,17,20,07-31
HELP????
Has anyone seen the messages in bold. They are driving me crazy... CVS FOP DOES NOT WORK - DO NOT EXPECT ANYTHING [DEBUG]: Input mode: [DEBUG]: xslt transformation [DEBUG]: xml input file: birds.xml [DEBUG]: xslt stylesheet: birds.xsl [DEBUG]: Output mode: [DEBUG]: pdf [DEBUG]: output file: birds.pdf [DEBUG]: OPTIONS [DEBUG]: no user configuration file is used [default] [DEBUG]: debug mode on [DEBUG]: dump configuration [DEBUG]: quiet mode on Could not find org.apache.xerces.parsers.SAXParser
text colums
I am producing pdfs that will have a bullet list that I want to display in two columns, like newspaper columns. I won't know in advance how many items will be in the list. I'm using fop via Cocoon. My source xml doc just has a series of items, each having a li tag. In an html page, a single column list would be produced, but in the pdfs I want to use two columns. Suggestions? Thanks. = - Mr Lauren Commons DISCLAIMER: The opinions expressed ARE in fact those of my employer. __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/
Re: Passing Parameters at the Command Line
Muchos gracias. It's a little Rube Goldberg machine, but it works just fine. -Rob On Wednesday, March 20, 2002, at 10:51 AM, Michiel Verhoef wrote: I'm not 100% certain but to me it looks like testXSLT is actually a call to Xalan. It is possible to call Xalan with parameters, using the -parameter switch. fop calls Xalan itself but has AFAIK no possibility to pass parameters to Xalan. A work around might be to write a shell script that calls a transformation first and then calls fop with the transformation result (a fo file) as input. HTH, Michiel $ -Original Message- $ From: Robert Brosnan [mailto:[EMAIL PROTECTED] $ Sent: woensdag 20 maart 2002 16:47 $ To: [EMAIL PROTECTED] $ Subject: Passing Parameters at the Command Line $ $ $ I'm running fop (0.20.3) at the command line and would like $ to be able $ to pass it parameters much like I do with Xalan (testXSLT). With $ testXSLT, you can pass parameters with the following syntax: $ $ testXSLT -in source.xml -xsl transform.xsl -param name 'value' $ $ I would like to be able to do the same with fop, but when I execute: $ $ ./fop.sh -xml source.xml -xsl transform.xsl -param name $ 'value' -out $ out.pdf $ $ fop spits out the standard help screen and dies, claiming the $ renderer $ hasn't been set. I've tried various permutations of the invocation, $ including changing the quoting scheme around the parameter's value, $ though nothing changes the outcome. $ $ Has anyone run into this situation before? Know how I can pass $ parameters? Is it possible at this stage in FOP's development? $ $ Thanks, $ Rob $ $ ___ $Robert Keith Brosnan $[EMAIL PROTECTED] $www.epimorphic.com $ $240.346.4472 $520.832.2334 (fax) $ $1803 Biltmore St., NW $Suite 703 $Washington, DC 20009 $ ___ Robert Keith Brosnan [EMAIL PROTECTED] www.epimorphic.com 240.346.4472 520.832.2334 (fax) 1803 Biltmore St., NW Suite 703 Washington, DC 20009
RE: Error
Hey, Ken, those of us on _cable_ connections aren't exactly impressed by giant emails either. :-) Arved -Original Message- From: G. Ken Holman [mailto:[EMAIL PROTECTED] Sent: March 20, 2002 12:37 PM To: [EMAIL PROTECTED] Subject: Re: Error Would you please *stop* sending 1Mb files over email? Those of us on dial-up connections and small ISP mail boxes can really get burned and it isn't netiquette to almost wipe us out with repeated mailings of this size. Thanks. . Ken
RE: Error
I'll bet Ken would have been really mad if he knew the attachment was just a screen shot of a dos box :) As an FYI to the poster of the screen-shot: 1) Right-click on the menu bar of a of a terminal window. 2) Select Properties. 3) Select options. 4) Confirm that QuickEdit Mode is checked. 5) Click ok 6) 'Save properties for future windows with the same title' 7) Select some text in the terminal window. 8) Right click once 9) Now you can Ctrl-v the text into your email. David -Original Message- From: Arved Sandstrom [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 4:12 PM To: [EMAIL PROTECTED] Subject: RE: Error Hey, Ken, those of us on _cable_ connections aren't exactly impressed by giant emails either. :-)