3 projects tagged "JavaScript"
ASCIIMathML is a script that converts calculator-style ASCII math notation (and many LaTeX formulas) to Presentation MathML while your Web page loads. It works with HTML and XHTML files in Mozilla/Firefox/Netscape 7+ browsers, as well as in Internet Explorer 6 with MathPlayer. For example, the solutions for the equation 'ax^2+bx+c=0' are expressed in the HTML file as '(-b +- sqrt(b^2 - 4ac))/(2a)', and display as nicely formatted MathML. The script can be easily used in wikiservers and blogs, as a rudimentary MathML editor (with instant preview), and to preview math formulas as they are typed into a Web page input area.
The xsbrowser creates a human-readable documentation of XML document types represented as XML 1.0 DTDs or XML schemas (REC-xmlschema-20010502). The user needn't understand the DTD or XML Schema syntax. The xsbrowser exploits XML Schema. Although you can directly feed a DTD into the xsbrowser, it is recommended to first translate the DTD using the dtd2xs translator. The dtd2xs translator allows a more sophisticated mapping of DTDs onto XML schemas. The only requirement is a Web browser that supports Java applets, Javascript, and CSS1. The Web browser needn't support XML.