Display Nice Looking Math Formulas

Hi,

Does any one know of an actionscript function or class to convert strings representing math equations (like: “integral(e^(1/2), a, b)” ) into nicely formatted formulas, for display purposes (using the integral glyph, etc…) ?

Purpose: I need to display nice looking math formulas that have been entered as strings (without special characters) in an xml file.