|[ATL] serialise xmi to specific format [message #1232728]
||Fri, 17 January 2014 15:25
Registered: January 2014
Been trying to figure this out for some time now. I have the following output from a ATL transformation:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701"
Whereby I have my own self made ecore model as a metamodel for the input, and I am outputting a UML model based on the: uri:http://www.eclipse.org/uml2/3.0.0/UML referenced metamodel. The UML also has an input of a UML profile (rbacDSML).
Somethings I need to do but unsure if this is possible:
* Is it possible to change the XML encoding to UTF-8?
* Is it possible to change the xmi:version to '2.0' and its corresponding xmlns
* Why does the output uml metamodel refer to 4.0.0 and not 3.0.0 (the one specified as the UML metamodel) and is it possible to force the reference to become 3.0.0.
* Is it possible to have the xsi:schemaLocation make reference to a pathmap://RBACDSML/RbacDSML.profile.uml instead of the relative file path?
Powered by FUDForum
. Page generated in 0.01468 seconds