On the Conversion between Content MathML and OpenMath
C So, Stephen M. Watt · 2008
Content MathML and OpenMath are two XML formats for semantic markup of mathematical expressions. Although efforts have been made to align their definitions, enough differences remain to make translation between them nontrivial. In this chapter, we present a technical discussion of the differences between Content MathML and OpenMath, and two strategies for bidirectional translation between them. The first approach is to map between predefined Content MathML elements and standard OpenMath definitions, making any necessary adaptations for concepts that do not exactly correspond. For the second method, we describe a mapping using the extension mechanisms of each language, wherein all references to standard concepts are replaced by equivalent external references. We have implemented these translation schemes (both approaches and both directions) as XSLT stylesheets. These implementations have served both to test our ideas and as components in an architecture for mathematical web services. 1