I am trying to embed MathML into a web page. Everything
works fine
excluding escape characters -- which I may be using
incorrectly
(please educate me).
Here is a simplification of the code:
<html xmlns="http://www.w3.org/
1999/xhtml"
xmlns link=
"http://www.w3.org/
1999/xlink"
xmlns:math="http://www.w
3.org/1998/Math/MathML"
>
<body>
<math:math>
<!-- This works fine: -->
<math:mo>±</math:mo>
<!-- This fails with undefined entity error:
-->
<math:mo>±</math:mo>
</math:math>
</body>
</html>
Which when rendered, results in the following error:
<class 'genshi.template.base.TemplateSyntaxError'>:
undefined entity
"±" . . .
Any ideas on how to resolve this issue or do I need to use
the numeric
escape sequences instead of the entity names?
Thanks,
Eric
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Genshi" group.
To post to this group, send email to genshi googlegroups.com
To unsubscribe from this group, send email to
genshi-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/genshi?hl=en
-~----------~----~----~----~------~----~------~--~---
|