Next in thread → Next in month →

Re: [docbook-apps] How to include Mathematical equations in DocBook 5 ?

From
Bob Stayton <>
Date
2008-03-24T22:09:52+00:00
ID
A6FAE158DAD44172A1ACC59115D41D97@sheeta
Thread
Re: [docbook-apps] How to include Mathematical equations in DocBook 5 ?
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0">

<include href="/path/to/docbook.rng">
  <define name="db._any.mml">
    <externalRef href="mathml/mathml2.rng"/>
  </define>

  <define name="db._any">
    <element>
      <anyName>
        <except>
          <nsName ns="http://docbook.org/ns/docbook"/>
          <nsName ns="http://www.w3.org/1999/xhtml"/>
          <nsName ns="http://www.w3.org/1998/Math/MathML"/>
        </except>
      </anyName>
      <zeroOrMore>
        <choice>
          <attribute>
            <anyName/>
          </attribute>
          <text/>
          <ref name="db._any"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
</include>
</grammar>
Next in thread → Next in month →