Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

3236-7 ch02.F.

qc

6/29/99

1:03 PM

Page 21

Chapter 2 An Introduction to XML Applications

<head>
<title>Fiat Lux</title>
<meta name=GENERATOR content=amaya V1.3b />
</head>
<body>
<P>
And God said,
</P>
<math>
<m:mrow>
<m:msub>
<m:mi>&delta;</m:mi>
<m:mi>&alpha;</m:mi>
</m:msub>
<m:msup>
<m:mi>F</m:mi>
<m:mi>&alpha;&beta;</m:mi>
</m:msup>
<m:mi></m:mi>
<m:mo>=</m:mo>
<m:mi></m:mi>
<m:mfrac>
<m:mrow>
<m:mn>4</m:mn>
<m:mi>&pi;</m:mi>
</m:mrow>
<m:mi>c</m:mi>
</m:mfrac>
<m:mi></m:mi>
<m:msup>
<m:mi>J</m:mi>
<m:mrow>
<m:mi>&beta;</m:mi>
<m:mo></m:mo>
</m:mrow>
</m:msup>
</m:mrow>
</math>
<P>
and there was light
</P>
</body>
</html>

Listing 2-2 is an example of a mixed HTML/XML page. The headers and paragraphs
of text (Fiat Lux, Maxwells Equations, And God said, and there was light) is
given in classic HTML. The actual equations are written in MathML, an application
of XML.

21

You might also like