搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How can I process an xml/xsl file pair that require the Internet Explorer dom?

  • 1 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 John99

more options

My personal navigation device (GPS) generates xml files that contain a record of where I have been, together with when I was there, how fast I was driving at the time, etc. taken at approx. 5 second intervals. This xml file has an xml-stylesheet with type="text/xsl" but that stylesheet is written to the Internet Explorer dom standard. The stylesheet interfaces with google maps to display a map that shows my path and it also displays tables of data including distances that are computed from latitude/longitude pairs. I can supply a small sample xml file and the xsl file as well if they are needed to diagnose my problem. I cannot find any browser other than Internet Explorer that handles these files satisfactorily. I prefer to process them from a Linux environment but with the Internet Explorer requirement I cannot do so. The browsers that I have tried and that have failed are Firefox, Opera, Konqueror, Chrome, Epiphany, Midori, Arora, and Links.

One line in the xls file in particular gives grief in the browsers like Firefox that at least attempt to do more than display the raw xml file:

xmlns:cymath="urn:smiletime-cybarber-net:math"

A comment in the xls file says this about the problem:

"Tested and currently only compatible with Internet Explorer version 6 or version 7 (as this script includes JScript functions called by XSL, msxsl:script extension is required; also, the produced XHTML document embeds javascript functions exploiting the IE DOM).

"In order to provide compatibility with Firefox, other than checking the compatibility of the IE DOM, the cymath:distCosineLaw function still needs to be ported."

My personal navigation device (GPS) generates xml files that contain a record of where I have been, together with when I was there, how fast I was driving at the time, etc. taken at approx. 5 second intervals. This xml file has an xml-stylesheet with type="text/xsl" but that stylesheet is written to the Internet Explorer dom standard. The stylesheet interfaces with google maps to display a map that shows my path and it also displays tables of data including distances that are computed from latitude/longitude pairs. I can supply a small sample xml file and the xsl file as well if they are needed to diagnose my problem. I cannot find any browser other than Internet Explorer that handles these files satisfactorily. I prefer to process them from a Linux environment but with the Internet Explorer requirement I cannot do so. The browsers that I have tried and that have failed are Firefox, Opera, Konqueror, Chrome, Epiphany, Midori, Arora, and Links. One line in the xls file in particular gives grief in the browsers like Firefox that at least attempt to do more than display the raw xml file: xmlns:cymath="urn:smiletime-cybarber-net:math" A comment in the xls file says this about the problem: "Tested and currently only compatible with Internet Explorer version 6 or version 7 (as this script includes JScript functions called by XSL, msxsl:script extension is required; also, the produced XHTML document embeds javascript functions exploiting the IE DOM). "In order to provide compatibility with Firefox, other than checking the compatibility of the IE DOM, the cymath:distCosineLaw function still needs to be ported."

所有回复 (1)

more options

You may get an answer, but it is not really the sort of subject covered by this forum, I suggest you try Mozilazine and if you solve the problem post back again.