[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Entities in Presentation MathML Making their Way Into

Subject: Entities in Presentation MathML Making their Way Into SVG
From: B K Partridge <derangedwombat@xxxxxxxxx>
Date: Wed, 27 Aug 2003 08:13:59 -0700 (PDT)
mml math
Greetings,

I've got a combination XHTML/Presentation MathML XML
document, that I'm pushing through Custard to get SVG
files.  The processing fails part of the way through,
but it is still managing to generate about 40 files. 
The problem is, some of the Presentation MathML in my
document is "non standard" (ie: it sort of "hackily"
represents math concepts that MathML doesn't cover)
and contains entities. For example:

Content MathMLish Block:

<our:math>
  <apply>
    <ci>tan</ci>
    <apply>
      <ci>-multi-times-in</ci>
      <cn>30</cn>
      <ci>deg</ci>
    </apply>
  </apply>
</our:math>

Corresponding Presentation MathML Block:

<mml:math mode="display"
xmlns:mml="http://www.w3.org/1998/Math/MathML">
  <mml:mrow>
    <mml:mi>tan</mml:mi>
    <mml:mo>&amp;ApplyFunction;</mml:mo>
    <mml:fenced>
      <mml:mrow>
        <mml:mn>30</mml:mn>
        <mml:mo>&amp;&middot;</mml:mo>
        <mml:mi>deg</mml:mi>
      </mml:mrow>
    </mml:fenced>
  </mml:mrow>
</mml:math>


When I run this through custard, I get a file with
some right stuff, but the entities don't resolve.  Any
suggestions how I can get this:

tan&ApplyFunction;(30 &middot; deg)

to look more like this?

tan(30*deg)

(the * should be a dot of course, but I can't do it in
email)

Many, many thanks in advance for any advice ...

Kyle



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.