MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

XML and the DTDs and etc.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37136] XML and the DTDs and etc.
  • From: Steven <hattons at speakeasy.net>
  • Date: Sat, 12 Oct 2002 05:05:08 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I'm trying to get a handle on Mathematica's XML capabilities.  I'm finding a few 
things to be a bit confusing.  One of these is where the 
http://www.wolfram.com/XML/DTD/2001/NBMLwMathML.dtd really is.  Another 
point of confusion is how exactly the rendering in the browser is expected 
to take place.  If needs be, I can spin up my own CSS.  Does Mathematica provide 
CSS for MathML or NBML?  I've character mentioned entity references before, 
but I still haven't found an answer. What I've found here seems 
inconsistent with what Mathematica chose for the character entity reference for an 
imaginary number: http://www.bitjungle.com/~isoent/

This is what Mathematica produced for a complex number:

<b><p class="Input"><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>cpx</mi>
   <mtext> </mtext>

   <mo>=</mo>
   <mtext> </mtext>
   <mrow>
    <mn>1066</mn>
    <mtext> </mtext>
    <mo>+</mo>

    <mtext> </mtext>
    <mrow>
     <mn>42</mn>
     <mo>&#8290;</mo>
     <mi>&#8520;</mi>
    </mrow>
   </mrow>
  </mrow>

  <mo>;</mo>
 </mrow>
</math></p></b>

If I understand the http://www.bitjungle.com/~isoent/ent.xml, the imaginary 
number symbol should be &#2111; which is a black letter capital 'I'.  That 
doesn't seem correct to me. I'm currently stumbling around in here looking 
for a possible clue as to what I should expect: 
http://www.physiome.org.nz/Docs/web-tech/specs/mathML20/chapter3.html

Has anybody worked with this?

STH


  • Prev by Date: lissajous
  • Next by Date: The Essence of Mathematica
  • Previous by thread: RE: lissajous
  • Next by thread: Re: XML and the DTDs and etc.