摘要
针对当今远程教育存在的互操作问题,美国ADL组织提出了可共享内容对象参考模型(SCORM)标准。通过剖析SCORM中的内容包装规范,介绍其涉及的可扩展标记语言(XML),重点分析了基于树的XML解析的DOM接口。利用面向对象编程思想将MSXML封装成类,避免了调用基于COM的MSXML中接口的繁琐过程。详细阐述了通过该类对SCORM内容包的包交换文件进行解析并映射到MFC树控件的基本过程。这是SCORM课件播放与制作工具的重要组成部分,也为其它XML文件的解析提供了参考。
Owing to the interoperability ofcurrent network education, the united states organization ADL put forward SCORM standards. By focusing on content packaging of SCORM, the technology of XML is briefly introduced and DOM tree interface in XML parsing is strong analyzed. In order to avoiding tough stuffin function calling based on COM interfaces, MSXML is encapsulated into classes with object orient programming. The combination of SCORM Package parsing and tree control mapping is discussed in details. This is an important part of SCORM player and maker and it also act as a reference for other XML parsing.
出处
《计算机工程与设计》
CSCD
北大核心
2009年第4期990-992,996,共4页
Computer Engineering and Design
基金
北京市优秀人才培养基金项目(20061D0501600220)
北京市属市管高校人才强教计划基金项目