使用免费在线工具验证/调试 Mathml 的最佳方法是什么?

发布于 2024-07-11 02:31:17 字数 2682 浏览 5 评论 0原文

我有一些里面有 math ml 的 xml,我想找到一些免费工具,最好是在线的,我可以用它来验证,如果可能的话,甚至可以编辑 math ml。

有人知道我可以用什么好的工具来做到这一点吗? 谢谢。

编辑:

firefox 3.03 本身支持 MathML 吗? 我根本无法显示一些方程。 我知道在 IE 中我使用 MathPlayer 来运行它。

这是代码块,[仅供参考,我尝试将其复制并粘贴为 htm 并在 IE7 中运行它,在 MathPlayer 的帮助下可以很好地转换它,而在 FF3 中它看起来很乱]:

<HTML XMLNS:m="http://www.w3.org/1998/Math/MathML">
<head>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" onresize="javascript:hideNavigation()" onkeydown="onKeyDown()" style="background:#FFFFFF">
</b><font COLOR="#000000" FACE="Times New Roman" SIZE="3" >&#1581;&#1604;&#1604;&nbsp;&nbsp;&#1575;&#1604;&#1593;&#1576;&#1575;&#1585;&#1577;<font FACE="Times New Roman">&nbsp;<font FACE="Times New Roman">&#1578;&#1605;&#1575;&#1605;&#1575;&#1611;&nbsp;&nbsp;&#1573;&#1604;&#1609;&nbsp;&nbsp;&#1593;&#1608;&#1575;&#1605;&#1604;&#1607;&#1575;&nbsp;&nbsp;&#1575;&#1604;&#1571;&#1608;&#1604;&#1610;&#1577;<font FACE="Times New Roman">&nbsp;  </font> </font></font></font> 
<span style="font-family: Times new roman">
<object id="MathPlayer" classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987">
</object>
<?import namespace="m" implementation="#MathPlayer" ?>
<m:math xmlns:m="http://www.w3.org/1998/Math/MathML"><m:mn>3</m:mn>
<m:msup><m:mrow><m:mi>s</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
<m:msup><m:mrow><m:mi>x</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
<m:mo>&amp;plus;</m:mo>
<m:mn>42</m:mn>
<m:msup><m:mrow><m:mi>s</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
<m:mi>hx</m:mi>
<m:mo>&amp;plus;</m:mo>
<m:mn>72</m:mn>
<m:msup><m:mrow><m:mi>s</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
<m:msup><m:mrow><m:mi>h</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
</m:math>&nbsp;</span>
</body>
</HTML>

任何人都知道有什么好的提示可以检查吗这里可能有什么问题? 截至目前我只能怀疑浏览器。

i have some xml with math ml inside, and i would like to find some free tools preferably online which i can use to validate and if possible even edit math ml.

Anyone knows of any good tools which i can use to do this?
Thanks.

Edit:

Does firefox 3.03 natively support MathML? I can't get some equations to show up at all. I know in IE i use the MathPlayer to get it running.

Here is the code block, [fyi, i try just copy and pasting this as a htm and running it in IE7 which with the help of MathPlayer convert it nicely while in FF3 it looks gibberish]:

<HTML XMLNS:m="http://www.w3.org/1998/Math/MathML">
<head>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" onresize="javascript:hideNavigation()" onkeydown="onKeyDown()" style="background:#FFFFFF">
</b><font COLOR="#000000" FACE="Times New Roman" SIZE="3" >حلل  العبارة<font FACE="Times New Roman"> <font FACE="Times New Roman">تماماً  إلى  عواملها  الأولية<font FACE="Times New Roman">   </font> </font></font></font> 
<span style="font-family: Times new roman">
<object id="MathPlayer" classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987">
</object>
<?import namespace="m" implementation="#MathPlayer" ?>
<m:math xmlns:m="http://www.w3.org/1998/Math/MathML"><m:mn>3</m:mn>
<m:msup><m:mrow><m:mi>s</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
<m:msup><m:mrow><m:mi>x</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
<m:mo>&plus;</m:mo>
<m:mn>42</m:mn>
<m:msup><m:mrow><m:mi>s</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
<m:mi>hx</m:mi>
<m:mo>&plus;</m:mo>
<m:mn>72</m:mn>
<m:msup><m:mrow><m:mi>s</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
<m:msup><m:mrow><m:mi>h</m:mi>
</m:mrow>
<m:mrow><m:mn>2</m:mn>
</m:mrow>
</m:msup>
</m:math> </span>
</body>
</HTML>

Anyone know of any good tips to check on what could be the problem here? As of now i can only suspect the browser.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

飞烟轻若梦 2024-07-18 02:31:17

他们的旧网站上有一个 Mozilla MathML Tester

还有一个 Wolfram Research MathML 渲染工具

您还可以在 W3C 标记验证服务 上检查 MathML 代码是否有错误,无需渲染。

There is a Mozilla MathML Tester on their old website.

There is also a Wolfram Research MathML redering tool.

One can also check the MathML code for errors at W3C Markup Validation Service, with no rendering.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文