摘要
MDA的早日实现依赖其生成器的支持,基于XMI的UML模型与XML Schema的转换的研究属于MDA生成器的研究。本论文介绍了MDA标准的基本思想,说明对UML模型进行信息提取的必要性,然后介绍了UML模型到XML文件的转换过程,给出生成UML文件所需的DTD定义,并介绍用DOM实现对XML文档进行操作的方法,最后说明此转换在项目中的应用情况。
The early realization of MDA rely on its generator support, based on the XMI of the UML model and XML Schema conversion of part of MDA generator research.UML is the foundation of MDA(Model Driven Architecture), and the application of UML Model in the coming development phase is important and necessary. For this purpose,XML translated from UML Model is a good choice. In this article, a translation process is introduced, and DTD in the translation is defined based on XMI. DOM is adopted in Parsing and creating XML document. At last, a project using this technology is introduced in brief.
出处
《科技信息》
2010年第19期I0046-I0046,I0155,共2页
Science & Technology Information