daisy / pipeline-scripts

!! NOTE: This project is now part of the pipeline-modules project !! | Script modules for the default DAISY Pipeline 2 distribution.
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Fix MathML ID conversion in dtbook-to-zedai #71

Closed rdeltour closed 9 years ago

rdeltour commented 9 years ago

ZedAI schemadoc seems to say @id is not allowed on MathML elements so we discarded it (and it resulted in some IDs lost during the conversion). It appears that the MathML feature's schemas do allow @id (in place of ZedAI's usual @xml:id), so we now keep those during the conversion, which consequently fixes ID-loss issues.

This change also gets rid of @dtbook:* attributes in MathML markup.