Originally posted by manzano:
My problens are:
1.-I have all implementes in jsp and servlets pages,so i can't use cocoon 2.0 that i think
it's able to do all this thins.
Any one knows a way to use cocoon 2.0 like a servlet to call from my jsp pages?examples?
Any jar and a way to use it?
Actually Cocoon is complete package of fop,xalan,xerces,xsv... and lot of excellent jars " - simply a xml framework.
I believe you can achieve your task without using cocoon,that is by downloading the specific jar files from apache seperately.
2.-Any one knows how i can use FOP in a jsp with dinamic data (without stores files)?examples?any similar solution?
Try to download the FOP processor from apache site
http://xml.apache.org/fop/index.html it has an servlet demo in examples folder.This servlet(FopServlet.java) call the FOP processor by passing
1. input as xml,xsl file - output PDF file
2. input as fo file - output PDF file.
You can redesign to suits JSP,but better use serlvet since its has lot of
java code.
you can also redesing the servlet code to suits SVG output.Look at the FOP api by downloading source file of FOP.
2.-Any one knows how i can transform mathml to svg in a jsp?
Mathml is another XML,u need a XSLT to transform it into FO provided u know the mapping between mathml and svg,then u can use servlet or jsp to convert it into SVG using FOP jar file.Or else u direcltly convert the mathml to svg,ur client should have the Adobe SVG viewer installed on his/her system.
Regards
Balaji