Author Topic: XSD:Annotations in UML Profile for XML ?  (Read 4234 times)

zaphod

  • Guest
XSD:Annotations in UML Profile for XML ?
« on: May 19, 2005, 11:25:23 am »
I'm generating XSchemas using the UML Profile for XML.
Was wondering if there was some way of generating
xs:annotation tags from notes entered for individual
elements as well as for the package overall.  Would like
to generate both xs:documentation for user-readable
info as well as xs:appinfo elements containing perhaps
a fragment of XSL to transform element content.

Thanks in advance...

thomaskilian

  • Guest
Re: XSD:Annotations in UML Profile for XML ?
« Reply #1 on: May 20, 2005, 02:01:16 am »
I was also looking for that. Nothing (Note, Tag) seemed to create that so far.

VK

  • EA Administrator
  • EA User
  • *****
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: XSD:Annotations in UML Profile for XML ?
« Reply #2 on: May 22, 2005, 04:16:57 pm »
The current version of EA has support for <xs:annotation> :)

Just add the notes to the 'Notes' section of a diagram-element and the notes will be reflected in <xs:documentation> ( under <xs:annotation> ) in the generated schema.

At present, EA supports <xs:documentation> and not <xs:appinfo>