[ATL] Generate href="pathmap://..." [message #656974] |
Tue, 01 March 2011 03:53  |
Eclipse User |
|
|
|
Hello,
I'm using ATL to transform to target model UML. In detail, my question is about the generation of "href" in "importedElement".
I want to get the following structure:
<elementImport xmi:type="uml:ElementImport" xmi:id="_OpYhkTp_EeCSALIK68aV3A">
<importedElement xmi:type="uml:PrimitiveType" href=" pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Intege r"/>
</elementImport>
However until now, I can only get some structure like the following:
<elementImport xmi:type="uml:ElementImport" xmi:id="_s1Mh4kPgEeC51by4Fq16xw" importedElement="_s1Mh40PgEeC51by4Fq16xw"/>
<uml:PrimitiveType xmi:id="_s1Mh40PgEeC51by4Fq16xw"/>
It's not nested and there is also no "href". Here is the rules I've written:
elementImport_uml:SysML!"uml::ElementImport" (importedElement <- packageableElement_uml),
packageableElement_uml:SysML!"uml::PrimitiveType" ()
Please help me. I'm totally confused.
Thans in advance.
Kind regards,
Kirk
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02950 seconds