OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: dbmathml processing problem

Norman Walsh writes:
 > It's my bug. I convert all unknown tags into "<tagname..." so when
 > Bernd says xt outputs <mml:math>, I think he really means PassiveTeX
 > outputs <mml:math> because xt outputs "&lt;mml:math&gt;".
indeed. I was about to tell Bernd that...

 > <!-- just send the MathML all the way through... -->
 > <xsl:template match="mml:*">
 >   <xsl:element name="{name(.)}">
 >     <xsl:copy-of select="@*"/>
 >     <xsl:apply-templates select="node()"/>
 >   </xsl:element>
 > </xsl:template>

are you sure this is sufficient? I see that I have

<xsl:template match="m:math">
  <xsl:copy-of select="@*"/>
  <xsl:apply-templates mode="math"/>

<xsl:template match="m:*|@*|comment()|processing-instruction()|text()" mode="math">
   <xsl:apply-templates mode="math" select="*|@*|processing-instruction()|text()"/>

for what its worth


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC