JavaScript-MathML Library的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
MathML(Mathematieal Markup Language,数学标记语言)是一个W3C(World wide WebConsortium,国际万维网组织)推荐标准。MathML使用XML描述数学表达式及捕获其结构和内容,使数学表达式能够在Web上服务、接收和处理。
     最初,作者的研究目的是解决Word输出的HTML+WebEQ插件代码的五个问题。随后,作者受到MathType的启发,扩展最初的研究目的,提炼出一种跨平台、跨浏览器、跨插件和跨文档的MathML显示技术,在此基础上,设计和实现了JavaScript-MathML Library。
     JavaScript-MathML Library使用JavaScript脚本包装MathML代码,使MathML代码可以在多种环境下应用。例如,它可以在Windows、Macintosh和Unix/Linux操作系统,Mozilla、FireFox、Netscape、IE、Safari和Opera浏览器,TechExplorer、WebEQ和MathPlayer插件,HTML和XHTML文档,多种MathML显示技术(如Mozilla/FireFox/Netscape DOM、CSS、CSS for MathML和JavaScr ipt MathML DOM)环境下应用。
     JavaScript-MathML Library具有一些技术特点。例如,在跨平台、跨浏览器、跨插件和跨文档的MathML显示技术的基础上,它具有自动部署配合方案与动态转换MathML代码的功能,统一多种MathML显示技术,分离MathML的内容与显示,优化插件(TechExplorer和WebEQ)脚本,挖掘浏览器和插件的潜力。
MathML (Mathematical Markup Language) is a W3C (World Wide Web Consortium) Recommendation. MathML is an XML application for describing mathematical expression and capturing both its structure and content so that mathematical expression can be served, received, and processed on the World Wide Web.
     Initially, the study purpose of the author is to solve five issues of the HTML+WebEQ plug-in code which Word outputes. Subsequently, the author is inspired by MathType, and extends the initial purpose of the study, and epurates a cross-platform, cross-browser, cross-plug-in and cross-documentation technology of the MathML display. Based on this technology, the author designs and implements JavaScript - MathML Library.
     JavaScript - MathML Library is to use JavaScript to contain the MathML code so that the MathML code can be applied to multi environments. For example, it can be applied to Windows, Macintosh and Unix/Linux; it can be applied to Mozilla, FireFox, Netscape, IE, Safari and Opera; it can be applied to TechExplorer, WebEQ and MathPlayer; it can be applied to HTML and XHTML; it can be applied to multi technologies of the MathML display (such as Mozilla/FireFox/Netscape DOM, CSS, CSS for MathML, JavaScript MathML DOM).
     JavaScript - MathML Library has some technical characteristics. For example, based on the cross-platform, cross-browser, cross-plug-in and cross-documentation technology of the MathML display, it is provided with the function of automatic deploying the assorted project and dynamic converting the MathML code; it unifies multi technologies of the MathML display, and separates the MathML content from the MathML display; it optimizes the plug-in (TechExplorer and WebEQ) script, and exploits the potential of browsers as well as plug-ins.
引文
铩颷1]Mathematical Markup Language(MathML)Version 1.01[EB/OL].http://www.w3.org/1999/07/REC-MathML-19990707/,1997.
    [2]Mathematical Markup Language(MathML)Version 2.0(Second Edition)[EB/OL].http://www.w3.org/TR/2003/REC-MathML2-20031021/,2003.
    [3]Mathematical Markup Language(MathML)Version 3.0[EB/OL].http://www.w3.org/TR/2007/WD-MathML3-20070427/,2007.
    [4]Extensible Markup Language(XML)1.0(Fourth Edition)[EB/OL].http://www.w3.org/TR/2006/REC-xml-20060816/,2006.
    [5]HTML 4.01 Specification[EB/OL].http://www.w3.org/TR/1999/REC-htm1401-19991224/,1999.
    [6]http://www.dessci.com/en/products/webeq/
    [7]http://www.dessci.com/en/products/mathtype/
    [8]ECMAScript Language Specification(Third Edition)[EB/OL].http://www.ecma.ch/,1999.
    [9]ECMAScript Components Specification[EB/OL].http://www.ecma.ch/,1999.
    [10]ECMAScript for XML(E4X)Specification(Second Edition)[EB/OL].http://www.ecma.ch/,2005.
    [11]http://www.integretechpub.com/TechExplorer/
    [12]http://www.dessci.com/en/products/mathplayer/
    [13]Extensible HyperText Markup Language(XHTML)1.0(Second Edition)[EB/OL].http://www.w3.org/TR/2002/REC-xhtml1-20020801/,2002.
    [14]DOM Level 1 Specification Version 1.0(Second Edition)[EB/OL].http://www.w3.org/TR/2000/WD-DOM-Level- 1-20000929/,2000.
    [15]DOM Level 2 Core Specification Version 1.0[EB/OL].http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/,2000.
    [16]DOM Level 2 HTML Specification Version 1.0[EB/OL].http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/,2003.
    [17]DOM Level 3 Core Specification Version 1.0[EB/OL]. http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/,2004.
    铩颷18]Cascading Style Sheets level 2 Specification[EB/OL].http://www.w3.org/TR/1998/REC-CSS2-19980512/,1998.
    [19]Cascading Style Sheets level 1 Specification[EB/OL].http://www.w3.org/TR/1999/REC-CSS1-19990111/,1999.
    [20]A MathML for CSS profile[EB/OL].http://www.w3.org/TR/2007/WD-mathml-for-css-20070427/,2007.
    [21]http://www-128.ibm.com/developerworks/crdxml/x-mathml/MathML 描述数学表达式.htm
    [22]Integre TechExplorer 3.5 Documentation[Z].
    [23]WebEQ Developer Suite 3.6 Documentation[Z].
    [24]http://www.dessci.com/en/products/mathplayer/MathPlayer Version History.htm
    [25]http://www.dessci.com/en/support/webeq/tsn/tsn87.htm
    [26]Extensible Stylesheet Language(XSL)Version 1.1[EB/OL].http://www.w3.org/TR/2006/REC-xs111-20061205/,2006.
    [27]http://www.w3.org/Math/Software/mathml_software.html
    [28]李军国,张立昂.基于XML的网上数学表达式显示技术[J].北京大学学报(自然科学版),2003,39(5):675.
    [29]http://ewebeditor.webasp.net/
    [30]周俊,冯军焕,钮小明.基于WEB的数学公式编辑系统设计[J].中国远程教育,2004,8(上):69.
    [31]邹小林,伍小明.基于MathML的数学论坛[J].肇庆学院学报,2006,27(2):16-17.
    [32]An XHTML + MathML + SVG Profile[EB/OL].http://www.w3.org/TR/2002/WD-XHTMLplusMathMLplusSVG-20020809,2002.
    [33]http://www.w3.org/Math/XSL/
    [34]XSL Transformations(XSLT)Version 1.0[EB/OL].http://www.w3.org/TR/1999/REC-xslt-19991116/,1999.
    [35]XSL Transformations(XSLT)Version 2.0[EB/OL].http://www.w3.org/TR/2007/REC-xslt20-20070123/,2007.
    [36]XSLT 2.0 and XQuery 1.0 Serialization[EB/OL]. http://www.w3.org/TR/2007/REC-xslt-xquery-serialization-20070123/,2007.
    铩颷37]http://www.dessci.com/en/support/webeq/tsn/tsn95.htm
    [38]http://www.maplesoft.com/standards/MathML/Viewer/Install MathML Viewer(WebEQ forMaple).htm
    [39]李纲,王晓东,岑雄鹰.XML文档分解技术及文档存取模型[J].计算机应用研究,2001,3:127-130.
    [40]王晓东 著.计算机算法设计与分析[M].北京:电子工业出版社,2001.
    [41]William Ford,William Topp著 刘卫东 沈官林 译.数据结构C++语言描述[M].北京:清华大学出版社,1998.
    [42]严蔚敏 吴伟民 著.数据结构(C语言版)[M].北京:清华大学出版社,1996.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700