Book a Demo

Author Topic: XMI/controlled package  (Read 8638 times)

Herbert Melcher

  • Guest
XMI/controlled package
« 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.

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: XMI/controlled package
« Reply #1 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

Herbert Melcher

  • Guest
Re: XMI/controlled package
« Reply #2 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>

Herbert Melcher

  • Guest
Re: XMI/controlled package
« Reply #3 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>

Herbert Melcher

  • Guest
Re: XMI/controlled package
« Reply #4 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>