Book a Demo

Author Topic: Tagged Values in MDG xml: type-attribute useless??  (Read 3829 times)

skelesp

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Tagged Values in MDG xml: type-attribute useless??
« on: August 13, 2013, 11:40:39 pm »
Hi

I was just playing around with the tagged values of a stereotype. After some tests it seems that is doesn't matter which value you give to the type-attribute of the tag-element.

Code: [Select]
<Tag name="Test" type="xxx" description="" unit="" values="1,2,3" default="1"/>
If you want to specify the tagged value type, you have to create a new one with the same name as the tagged value (in this case "Test").

Am I correct or is there some use in setting the type-attribute?

S.

Wivel

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Tagged Values in MDG xml: type-attribute usele
« Reply #1 on: August 21, 2013, 12:02:49 am »
Yes, you are right. If you want to include a predefinde Tagged Value, ehte ones you define using Settings -> UML Types -> Tagged Value Types, you have to add an Attribute to your Stereotype element with the exact name as you gave the Tagged Value when you entered it.

Henrik