List Info

Thread: Using MathML Escape Characters




Using MathML Escape Characters
country flaguser name
United States
2007-10-06 15:21:06
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"
      xmlnslink=
"http://www.w3.org/
1999/xlink"
      xmlns:math="http://www.w
3.org/1998/Math/MathML"
      >

  <body>
	<math:math>
          <!-- This works fine: -->
	   <math:mo>&#177;</math:mo>

          <!-- This fails with undefined entity error:
-->
	   <math:mo>&PlusMinus;</math:mo>

	</math:math>
  </body>
</html>

Which when rendered, results in the following error:

<class 'genshi.template.base.TemplateSyntaxError'>:
undefined entity
"&PlusMinus;" . . .


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 genshigooglegroups.com
To unsubscribe from this group, send email to
genshi-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/genshi?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )