摘要
XML和XSL技术可以有效地将数据和数据的显示相分离。对如何将XML和XSL技术应用到考试系统中进行了研究。将试卷的题目保存在XML文件中,试卷显示时的样式保存在XSL样式文件中,利用IE将这两个分离的文件转换为HTML文件,显示一张完整的试卷供学生考试。考生的答案实时地保存到与每个考生惟一对应的XML文件中。利用同一个试卷样式表文件和考生答案XML文件,可以让考生在二次登陆考试系统时,仍然可以看到自己所做的答案。XML和XSL技术应用到考试系统的设计和实现中,使得考试系统更为灵活和高效。
XML and X5L can etiectively separate the data from its display style. The application of XML and XSL in the exam system is studied here. The subject of the test paper is saved in the XML file ,the display style of the test paper is saved in the XSL style sheet file. These two separate files are transformed into one HTML file,which is showed to examinee to test. The answer of the examinee could be saved in real -time to a XML file ,which is unique to each examinee. The examinee can find their answers when they land the examine system at second time by using same paper style sheet file and the answer XML file. The application of XML and XSL in the design and implementation of the exam system make the system more flexible and efficient.
出处
《现代电子技术》
2005年第18期30-31,34,共3页
Modern Electronics Technique