• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

xml mathml pdf FOP

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,
here it's a big quest....
my name is raul, i'm spanish student that is trying to make a website that is based on xml, jsp,servlets(tomcat). It must be able to transfor xml in some formats.Some of the source is in mathml
that i have to transform in svg,and all the xml documents (that are dinamic generated ) must to be send to the browser in html, wml or pdf.
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?
2.-Any one knows how i can use FOP in a jsp with dinamic data (without stores files)?examples?any similar solution?
2.-Any one knows how i can transform mathml to svg in a jsp?

Lots of thanks to all
I'm desesperated,please help me!!!
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Raul,
Sorry, but your name doesn't comply with our official policy on registered names. Both first and last name are required. Please, take a moment and change your publicly displayed name.
Other (properly registered) participants, please, help Raul
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Balaji Loganathan
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mapraputa Is:
Other (properly registered) participants, please, help Raul


Map! now-a-days u r not actively replying in this forum.A personal complaint from your fan.
reply
    Bookmark Topic Watch Topic
  • New Topic