本文介绍了如何在eclipse中将XMI(UML模型)转换为XSD(XML Schema)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用javascript和xslt表或帮我一些好的链接以供参考
Using javascript and xslt sheet or help me some good links for reference
推荐答案
<packagedElement xmi:type="uml:Class" xmi:id="eb26eca7-5adc-4d30-6d4a-08d62a693725" name="Entity" />
<packagedElement xmi:type="uml:Class" xmi:id="640095e3-a3e0-4a18-6d4b-08d62a693725" name="Logical Entity">
<generalization xmi:type="uml:Generalization" general="eb26eca7-5adc-4d30-6d4a-08d62a693725" xmi:id="1dc913a7-ae47-4cba-827f-86f077c3dae4" />
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="efb7d288-8081-4def-6d4c-08d62a693725" name="Physical Entity">
<generalization xmi:type="uml:Generalization" general="eb26eca7-5adc-4d30-6d4a-08d62a693725" xmi:id="84cfc98f-8236-43c4-aff3-065e3fc65a0b" />
<ownedAttribute xmi:type="uml:Property" xmi:id="3bf716a6-5591-405f-b23c-f7ed429170a5" name="Equipment ID" />
<ownedAttribute xmi:type="uml:Property" xmi:id="27ad02ef-be77-487a-8920-3accc3eeb31c" name="Residual Life" />
<ownedAttribute xmi:type="uml:Property" xmi:id="5ca4317a-343c-4834-81c9-9cec8f4b0ae9" name="Inigio" />
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="5735b403-4b42-4e05-6d4d-08d62a693725" name="Location">
<generalization xmi:type="uml:Generalization" general="eb26eca7-5adc-4d30-6d4a-08d62a693725" xmi:id="067f8fee-4dc6-4002-9bb8-47c687313f16" />
<ownedAttribute xmi:type="uml:Property" xmi:id="0fc56b9b-e6ec-4551-bb64-3eabb427ab29" name="Production" />
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="3053a1fb-461f-486b-6d4e-08d62a693725" name="Refinery">
<generalization xmi:type="uml:Generalization" general="5735b403-4b42-4e05-6d4d-08d62a693725" xmi:id="008368bd-2026-4bdc-b206-58c992a52a0d" />
<ownedAttribute xmi:type="uml:Property" xmi:id="0fc56b9b-e6ec-4551-bb64-3eabb427ab29" name="Production" />
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="3053a1fb-461f-486b-6d4e-08d62a693725" name="Refinery1">
<generalization xmi:type="uml:Generalization" general="5735b403-4b42-4e05-6d4d-08d62a693725" xmi:id="008368bd-2026-4bdc-b206-58c992a52a0d" />
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="3053a1fb-461f-486b-6d4e-08d62a693725" name="Refinery1Child">
<generalization xmi:type="uml:Generalization" general="3053a1fb-461f-486b-6d4e-08d62a693725" xmi:id="008368bd-2026-4bdc-b206-58c992a52a0d" />
这篇关于如何在eclipse中将XMI(UML模型)转换为XSD(XML Schema)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!