![]() tOutputProperty(OutputKeys.METHOD, "xml") StreamResult sr = new StreamResult(writer) ![]() StringWriter writer = new StringWriter() Transformer transformer = tFactory.newTransformer(new .StreamSource("home/anbu/omml2mml.xsl")) String mmlFile=fileDir.getAbsolutePath()+parator+"eqn"+imageName+".mml" String imgFile=fileDir.getAbsolutePath()+parator+"eqn"+imageName+".png" Public String processEquation(String dirName,Node mathNode) I already tried the one you specified ( ), but i could not complete it There are different choices available for the MathML to SVG step, including So I think you are looking at OMML -> MathML -> SVG -> PNG. Office 2007 includes xslt to convert this stuff (omml) to MathML (Google for omml2mml.xsl and mml2omml.xsl).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |