Re: [xsl] MathML and XSL

Subject: Re: [xsl] MathML and XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 9 Nov 2002 21:46:35 GMT
<!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN"
                  "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd";>
%mathml;


as noted in the mathml errata there's an updated dtd in
http://www.w3.org/Math/DTD/mathml2/mathml2.dtd

  <xsl:template match="math">
the mathml dt dthat you've included will default mathml elements in to
the mathml namespace so this will need to be

  <xsl:template match="m:math">

where m: is bound in the stylesheet to the mathml namespace

since you just want to copy math and all it's children you can simplify
what you had to


  <xsl:template match="m:math">
   <xsl:copy-of select"."/>
  </xsl:template>

no need for any further templates for mathml.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread