<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="mathml.xsl"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://www.w3.org/1999/xhtml">
   <head>
      <title>Browser-side: The Pan-Galactic MathML stylesheet</title>
      <link href="./w3ctalk-640w.css" rel="stylesheet" type="text/css" title="640w" />
      <link href="./w3ctalk-640.css" rel="alternate stylesheet" type="text/css" title="640" />
      <link href="./w3ctalk-800w.css" rel="alternate stylesheet" type="text/css" title="800w" />
      <link href="./w3ctalk-800.css" rel="alternate stylesheet" type="text/css" title="800" />
      <link href="./w3ctalk-1024w.css" rel="alternate stylesheet" type="text/css" title="1024w" />
      <link href="./w3ctalk-1024.css" rel="alternate stylesheet" type="text/css" title="1024" />
      <link rel="next" href="slide19.xml" title="Next" />
      <link rel="previous" href="slide17.xml" title="Previous" />
      <link rel="contents" href="Overview.xml" title="Contents" />
      <link rel="up" href="Overview.xml" title="Up" />
   </head>
   <body><a href="http://www.w3.org/"><img src="./w3c_home.gif" alt="W3C  " /></a><h1 class="slide">
         <h2>Browser-side: The Pan-Galactic MathML stylesheet</h2>
      </h1>
      <hr class="top" />
      <div>
         <h3>XML: MathML</h3>
         <math xmlns="http://www.w3.org/1998/Math/MathML">
            
            <mfrac>
               
               <mn>1</mn>
               
               <mrow>
                  
                  <mn>1</mn>
                  
                  <mo>+</mo>
                  
                  <mfrac>
                     
                     <msup>
                        
                        <mi>e</mi>
                        
                        <mrow>
                           
                           <mo>-</mo>
                           
                           <mn>2</mn>
                           
                           <mi>π</mi>
                           
                        </mrow>
                        
                     </msup>
                     
                     <mrow>
                        
                        <mn>1</mn>
                        
                        <mo>+</mo>
                        
                        <mfrac>
                           
                           <msup>
                              
                              <mi>e</mi>
                              
                              <mrow>
                                 
                                 <mo>-</mo>
                                 
                                 <mn>4</mn>
                                 
                                 <mi>π</mi>
                                 
                              </mrow>
                              
                           </msup>
                           
                           <mrow>
                              
                              <mn>1</mn>
                              
                              <mo>+</mo>
                              
                              <mfrac>
                                 
                                 <msup>
                                    
                                    <mi>e</mi>
                                    
                                    <mrow>
                                       
                                       <mo>-</mo>
                                       
                                       <mn>6</mn>
                                       
                                       <mi>π</mi>
                                       
                                    </mrow>
                                    
                                 </msup>
                                 
                                 <mrow>
                                    
                                    <mn>1</mn>
                                    
                                    <mo>+</mo>
                                    
                                    <mtext>...</mtext>
                                    
                                 </mrow>
                                 
                              </mfrac>
                              
                           </mrow>
                           
                        </mfrac>
                        
                     </mrow>
                     
                  </mfrac>
                  
               </mrow>
               
            </mfrac>
            
            <mo>=</mo>
            
            <mrow>
               
               <mo>(</mo>
               
               <msqrt>
                  
                  <mfrac>
                     
                     <mrow>
                        
                        <mn>5</mn>
                        
                        <mo>+</mo>
                        
                        <msqrt>
                           
                           <mn>5</mn>
                           
                        </msqrt>
                        
                     </mrow>
                     
                     <mn>2</mn>
                     
                  </mfrac>
                  
               </msqrt>
               
               <mo>-</mo>
               
               <mfrac>
                  
                  <mrow>
                     
                     <msqrt>
                        
                        <mn>5</mn>
                        
                     </msqrt>
                     
                     <mo>+</mo>
                     
                     <mn>1</mn>
                     
                  </mrow>
                  
                  <mn>2</mn>
                  
               </mfrac>
               
               <mo>)</mo>
               
            </mrow>
            
            <msup>
               
               <mi>e</mi>
               
               <mrow>
                  
                  <mn>2</mn>
                  
                  <mfrac>
                     
                     <mi>π</mi>
                     
                     <mn>5</mn>
                     
                  </mfrac>
                  
               </mrow>
               
            </msup>
            
         </math><pre>&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
  &lt;mfrac&gt;
    &lt;mn&gt;1&lt;/mn&gt;
    &lt;mrow&gt;
      &lt;mn&gt;1&lt;/mn&gt;
      &lt;mo&gt;+&lt;/mo&gt;
      &lt;mfrac&gt;
        &lt;msup&gt;
          &lt;mi&gt;e&lt;/mi&gt;
          &lt;mrow&gt;
            &lt;mo&gt;-&lt;/mo&gt;
...</pre><ul>
            
            <li>The problem with MathML: native support vs. plug-in</li>
            
            <li>two syntaxes:</li>
            
            <ul>
               
               <li>Inline (Amaya, Mozilla, Netscape 7):<pre>&lt;html&gt;...
  &lt;body&gt;
    &lt;p&gt;Here's how to include MathML the right way&lt;/p&gt;
    &lt;math&gt;
      &lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
    &lt;/math&gt;
   ...</pre></li>
               
               
               <li>Embed (IE plug-ins):<pre>&lt;html&gt;...
  &lt;body&gt;
    &lt;p&gt;Here's how to include MathML for plug-ins&lt;/p&gt;
    &lt;embed src="formula.mml" width="600" height="400" autostart="true"/&gt;
    ...</pre></li>
               
            </ul>
            
            <li>Both syntaxes are incompatible</li>
            
            <li>However...</li>
            
         </ul>
      </div>
      <hr class="bottom" />
      <table class="navbar" cellspacing="0" cellpadding="0" width="97%" summary="footer">
         <tr valign="bottom">
            <td>
               <p class="index">18 of 23</p>
            </td>
            <td valign="top">
               <div><a rel="previous" href="slide17.xml" accesskey="P"><img src="./left.gif" width="32" height="32" alt=" previous" title="Back to &#34;Browser-side: XSL Page at W3C&#34;" /></a><a rel="contents" href="Overview.xml" accesskey="C"><img src="./toc.png" width="32" height="32" alt=" contents" title="Table of Contents" /></a><a rel="next" href="slide19.xml" accesskey="N"><img src="./right.gif" width="32" height="32" alt=" next" title="On to &#34;The Pan-Galactic MathML stylesheet: solution&#34;" /></a></div>
            </td>
         </tr>
      </table>
   </body>
</html>