Chapter 1: Introduction to MathML

 < Day Day Up > 



This chapter gives the background you need to understand the origin, goals, and benefits of MathML. It explains the problems with current ways of representing mathematics on the Web and shows why MathML is an effective solution to these problems. It describes the history of MathML and explains its relation to other Web standards such as HTML and XML. Finally, it describes the various practical uses of MathML such as Web publishing and interchange of mathematical content between applications.

1.1 What Is MathML?

MathML, the Mathematical Markup Language, is an XML application for encoding mathematics on the Web. It provides a simple but precise syntax for encoding both the visual structure and the symbolic meaning of mathematics. Using MathML, you can display even the most complex mathematical notation in a Web page with a high degree of fidelity and clarity. At the same time, the meaning of the notation can be preserved so that, for example, you can copy and paste an equation from a Web page into a computer algebra system for evaluation.

MathML was the first XML application endorsed by the W3C and is supported by major software vendors (including IBM, HP, Microsoft, and Sun) as well as by professional organizations such as the American Mathematical Society (AMS). Currently, a major development effort to create tools for authoring, rendering, and processing MathML is underway. This includes support for displaying MathML in leading Web browsers including Internet Explorer (IE), Netscape, and Mozilla.

As a common and widely accepted standard for representing mathematics, MathML provides the foundation for many interesting and useful applications. For example, using MathML you can develop dynamic mathematical Web sites that feature interactive equations; create a database of technical documents whose contents can be easily searched, indexed, and archived; or develop speech synthesis software for the aural rendering of mathematics.

MathML is simple enough to be readable by humans but is also well suited for being generated and processed by software. It is also flexible and extensible-it includes methods for modifying the meaning of existing notation and for describing new notation that the current syntax does not support. This is important since mathematical notation is continually evolving, making it impossible for any fixed set of constructs to describe all possible notations.

MathML was specifically designed to work well with existing Web technologies. MathML equations can be dynamically processed using JavaScript and Java, styled using CSS and XSLT, or hooked up to HTML controls like buttons and pull-down menus. The combination of scripting and MathML makes it possible to create interactive Web sites that can display and manipulate mathematical content. This is an important requirement for teaching, research, and anywhere else that mathematics is important.

Since MathML is an XML application, general XML tools such as XML editors and parsers can process it. In particular, mathematical notation from a single MathML source file can be rendered in diverse media such as Web pages, print, and audio by using different CSS or XSLT stylesheets, each optimized for a specific medium.

Because it is written in plain text, MathML is portable and platform independent. This makes it a convenient medium for exchanging mathematical content between diverse applications such as Web browsers, word processors, equation editors, as well as computer algebra systems and other scientific software. MathML is thus well suited to becoming a standard format for storing and communicating mathematical information.



 < Day Day Up > 



The MathML Handbook
The MathML Handbook (Charles River Media Internet & Web Design)
ISBN: 1584502495
EAN: 2147483647
Year: 2003
Pages: 127
Authors: Pavi Sandhu

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net