Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Herbert Melcher on January 22, 2002, 01:56:02 am

Title: XMI/controlled package
Post by: Herbert Melcher on January 22, 2002, 01:56:02 am
It would be fine, if one could export controlled packages with all contained diagrams as images. Then there should be a link in the xmi-file to the image. The reason for this wish is, that i want to create my documentation with xml via a xsl processor and not with rtf.
Title: Re: XMI/controlled package
Post by: gsparks on January 24, 2002, 05:05:20 am
Hi Herbert,

This is probably not too hard to do - and could be an option when exporting. Could you supply me with a fragment of XML as you would expect it to appear in the XMI output and preferences as to image location?

I will try and schedule something in soon

Geoff Sparks
Title: Re: XMI/controlled package
Post by: Herbert Melcher on January 25, 2002, 01:32:45 am
<UML:Diagram name="doGet" xmi.id=....>
  <UML:ModelElement.taggedValue>
     <UML:TaggedValue tag="version" value="1.0"/>
     <UML:TaggedValue tag="created_date" ..../>
     ...
     <UML:TaggedValue tag="imgpath" value="../image/myImage.gif 14:06:05"/>
     ....
  </UML:ModelElement.taggedValue>
  ...
</UML:Diagram.element>
Title: Re: XMI/controlled package
Post by: Herbert Melcher on January 25, 2002, 01:33:24 am
<UML:Diagram name="doGet" xmi.id=....>
  <UML:ModelElement.taggedValue>
     <UML:TaggedValue tag="version" value="1.0"/>
     <UML:TaggedValue tag="created_date" ..../>
     ...
     <UML:TaggedValue tag="imgpath" value="../image/myImage.gif 14:06:05"/>
     ....
  </UML:ModelElement.taggedValue>
  ...
</UML:Diagram.element>
Title: Re: XMI/controlled package
Post by: Herbert Melcher on January 25, 2002, 01:35:18 am
Geoff, it could be implemented like the example below.

rgds

Herbert

<UML:Diagram name="doGet" xmi.id=....>
  <UML:ModelElement.taggedValue>
     <UML:TaggedValue tag="version" value="1.0"/>
     <UML:TaggedValue tag="created_date" ..../>
     ...
     <UML:TaggedValue tag="imgpath" value="../image/myImage.gif 14:06:05"/>
     ....
  </UML:ModelElement.taggedValue>
  ...
</UML:Diagram.element>