Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: zaphod on May 19, 2005, 11:25:23 am

Title: XSD:Annotations in UML Profile for XML ?
Post by: zaphod 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...
Title: Re: XSD:Annotations in UML Profile for XML ?
Post by: thomaskilian on May 20, 2005, 02:01:16 am
I was also looking for that. Nothing (Note, Tag) seemed to create that so far.
Title: Re: XSD:Annotations in UML Profile for XML ?
Post by: VK 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>