Supplying options in servlet

2002-05-21 Thread Balaji Loganathan
Hi, I'm trying to supply the option file userconfig.xml to the servlet.In command line we give it as fop -c userconfig.xml -xsl -xml -pdf But how we can supply this servlet.?This i'm trying for adding addtional font. I tried to use the Options class but didn't succeeded.Below is FopServlet

Re: Supplying options in servlet

2002-05-21 Thread Oleg Tkachenko
Balaji Loganathan wrote: I'm trying to supply the option file userconfig.xml to the servlet.In command line we give it as fop -c userconfig.xml -xsl -xml -pdf But how we can supply this servlet.?This i'm trying for adding addtional font. I tried to use the Options class but didn't

view related data with each other

2002-05-21 Thread Mohamed Abdel Hameed
Hi my problem is that there is data on table some of tese data text and there is image related to this text sometime part of text appear at the last of the page and the rest appear in the next page with image for me i like to appear all data related with each other i mean no need for the part of

Passing XSLT parameters to FOP (old topic I know)

2002-05-21 Thread Eric Smith
Is there a way of passing XSLT parameter values on the FOP command line? fop -xml sj.xml -xsl sj.xsl -pdf sj.pdf param1=value1 param2=value2 ... -- Eric Smith

Re: Supplying options in servlet

2002-05-21 Thread Balaji Loganathan
Hi Tkachenko, Thanks and thanks a lot,it works for me. I just added the line Options options = new Options(new File(userconfig.xml)); before initializing Driver object in my servlet.Now I can easily support multiple languages without worrying abt Unicode.Arabic and Japenese worked for.Of

Re: xalan-2.0.0.jar and xerces-1.2.3.jar in classpath not working...

2002-05-21 Thread Oleg Tkachenko
Carter, Will wrote: Hi, I am running fop in a servlet with jrun 3.1 as the servlet container. the only way I can get it to work is if I put xalan-2.0.0.jar and xerces-1.2.3.jar into my jdk/jre/lib/ext folder. I have all the other fop jars in my WEB-INF/lib folder. as long as I have

Re: Passing XSLT parameters to FOP (old topic I know)

2002-05-21 Thread Oleg Tkachenko
Balaji Loganathan wrote: Sorry Dutta, Its not working its giving error Element type fo:block must be followed by either attribute specifications, or /. Check syntax again. You probably omitted some or . -- Oleg Tkachenko Multiconn International, Israel

Re: Passing XSLT parameters to FOP (old topic I know)

2002-05-21 Thread Balaji Loganathan
Thanks for reply again,Yes it working now!I think i might have slept before. Regards Balaji --- Oleg Tkachenko [EMAIL PROTECTED] wrote: Balaji Loganathan wrote: Sorry Dutta, Its not working its giving error Element type fo:block must be followed by either attribute specifications,

RE: Passing XSLT parameters to FOP (old topic I know)

2002-05-21 Thread Pierre-Adrien Coustillas
You can use xsl:attribute fo:simple-page-master master-name=page1 page-height=29.7cm page-width=21cm margin-top=1.5cm margin-bottom=3cm margin-right=1cm xsl:attribute name=margin-left xsl:value-of

FOP Helvetica - is it really Arial?

2002-05-21 Thread Scott Moore
Font Gurus, There's a debate raging in our company right now about the use of Arial and Helvetica in FOP produced PDF. After careful examination of both fonts, I can see absolutely no difference, even though Helvetica has minor but distinguishable differences from Arial. I'm using the

RE: xalan-2.0.0.jar and xerces-1.2.3.jar in classpath not working ...

2002-05-21 Thread Carter, Will
thanks for the response... I have doublechecked my classpath and am certain that these are the only jars it picks up: these files are in my only classpath (C:\Program Files\Allaire\JRun\servers\lib): ant.jar (289k 3/2/2002) avalon-framework-4.0.jar (35k3/2/2002)

RE: xalan-2.0.0.jar and xerces-1.2.3.jar in classpath not working ...

2002-05-21 Thread Carter, Will
yes, this is the solution. I have replaced jaxp.jar and parser.jar with xalan.jar and xerces.jar and it worked. thank you very much. will -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 1:55 PM To: [EMAIL PROTECTED] Subject: Re:

RE: Prob. referring XSL over URI (Pls. consider this out of conte xt p ost)

2002-05-21 Thread Jack Donohue
I don't know if this is the most efficient way, but this works for me: If your stylesheet is /xsl/mystylesheet.xsl String filename = Thread.currentThread().getContextClassLoader().getResource(/xsl/mystyleshee t.xsl).getFile(); template =

Re: view related data with each other

2002-05-21 Thread J.Pietschmann
Mohamed Abdel Hameed wrote: Hi my problem is that there is data on table some of tese data text and there is image related to this text sometime part of text appear at the last of the page and the rest appear in the next page with image for me i like to appear all data related with each other i

Re: Adding Garamond font to FOP

2002-05-21 Thread J.Pietschmann
Scott Moore wrote: I've tried adding the Garamond font to FOP, and everything works fine except when I need a bold italic font. I never did find a TTF file for Garamond Bold Italic, just bold and italic separate. Is there a way to get garamond in bold and italic? MS-Word seems to be able to do

Re: Prob. referring XSL over URI (Pls. consider this out of context p ost)

2002-05-21 Thread J.Pietschmann
Dutta, Sumanta wrote: I am trying to refer my XSL, which generates the FO, over a URI, relative to my http codebase. If I create the XSL source by passing /x/y/z.xsl, the transformer tries to find file://x/y/z.xsl. Is there any way to resolve this in reference to my current http codebase. I tried