11.07.2015 Views

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

74 webMathematica User GuideOne resource for learning more about MathML is the <strong>Wolfram</strong> <strong>Research</strong> sponsored website,http://www.mathmlcentral.com. A section describing the evolution of MathML and some of theissues involved in developing a mathematical language suitable for a computation system suchas Mathematica is found at http://www.mathmlcentral.com/history.html.If you are not interested in the specific details of how MathML works and just want to useMathML in your output, then you should go to the sections Generating MathML and SendingMathML.Embedding MathML in Web DocumentsThis section discusses how documents can be written that mix both mathematics and text.These documents are written in XML format and use both MathML and XHTML (the XML compliantform of HTML). webMathematica contains functions that do all of this automatically, so youdo not need to read this unless you wish to learn more about the details of how browsers supportMathML.XHTMLXHTML is an XML compliant form of HTML, available as an official W3C recommendation,http://www.w3.org/MarkUp. It is very similar to HTML, except that for a document to be valid itmust follow the rules of XML. (Some of these were described in the previous section.) To usedocuments that mix mathematics and text, XHTML is required. Use of XHTML is needed anyway,since the W3C intends that HTML will not be developed further.The sample XHTML document illustrated below is very similar to HTML, except for the initialXML declaration and the DTD reference. The latter can be used by an XML parser to validatethat the input document is indeed valid XHTML. This demonstrates one of the benefits of XMLtechnology. That is, a parser can validate a document, checking details such as the differenttags being in the correct places and holding the correct number of arguments, without specializingin the particular flavor of XML. The reference to the DTD is not required; however, it isnecessary if the document is to be validated.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!