« Return to Thread: Compilation Erro - ExampleXML2PDF

Re: Compilation Erro - ExampleXML2PDF

by Andreas Delmelle-2 :: Rate this Message:

Reply to Author | View in Thread

On 21 Jun 2009, at 23:59, Kranti™ K K Parisa wrote:

> I am new to FOP. and i want to create PDF files using XML and XSLT  
> that i have to show XML in HTML.
> I am trying to run the sameple ExampleXML2PDF.java class.
>
> But not able to compile that due to
>
> Result res = new SAXResult(fop.getDefaultHandler());
>
> seems fop.getDefaultHandler() doesn't exists.

Which FOP version? What do you mean precisely by 'doesn't exist'?
It seems like you're forgetting to include fop.jar in the classpath  
when trying to run the sample app, but I really cannot say for certain  
based on the info provided...

Regards

Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

 « Return to Thread: Compilation Erro - ExampleXML2PDF