Book a Demo

Author Topic: Reorder XML child elements  (Read 2308 times)

entropicrune

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Reorder XML child elements
« on: January 31, 2011, 05:30:34 am »
I was able to figure out to reorder XML child elements of an xsd:complexType (using xsd:sequence) when the children are represented by UML attributes, but I don't see how to reorder them when the child elements are represented by UML associations.  Can someone explain this please?

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Reorder XML child elements
« Reply #1 on: January 31, 2011, 07:35:54 pm »
You can give the target role of the association the stereotype "XSDelement" and a tagged value "position".