Computer Engineering and Applications ›› 2010, Vol. 46 ›› Issue (23): 59-60.DOI: 10.3778/j.issn.1002-8331.2010.23.016

• 研发、设计、测试 • Previous Articles     Next Articles

Transformation from XML schema to UML class diagram based on meta model

HUANG Long,YANG Yu-hang   

  1. Institute of Army Aviation,Beijing 101121,China
  • Received:2009-07-09 Revised:2009-08-20 Online:2010-08-11 Published:2010-08-11
  • Contact: HUANG Long

基于元模型的XML Schema到UML类图的转换

黄 陇,杨宇航   

  1. 总参陆航研究所,北京 101121
  • 通讯作者: 黄 陇

Abstract: This paper defines meta model of XML schema associate to transformation based on XML Schema document and XMI specification,and constructs the mapping relation between it and UML meta model.Based on this,it proposes the transformation rules based on XMI and OCL,and analyzes the transformation space.It also illustrates the transformation with example.

Key words: meta model, XML Schema, UML class diagram, model transformation

摘要: 依据XML Schema文档以及XMI规范定义了与转换相关的XML Schema的元模型,并建立了它和UML元模型之间的映射关系,在此基础上提出了基于XMI和OCL的转换规则,对转换空间进行了分析,并且结合实例进行了说明。

关键词: 元模型, XML Schema, UML类图, 模型转换

CLC Number: