Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: fabiopinheiro on May 09, 2005, 06:02:51 am
-
Hi,
How can I generate my xml schema with the stereotype in the attribute?
I need to identify in my [file].xsd the stereotype of my attributes.
Today, I only can identify the name and the type of attributes.
Ex:
<xs:element name="Class.cd_Order" type="xs:int"/>
Anybody have a idea?
thanks,
Fabio Pinheiro
-
Hi,
How can I generate my XML schema with the stereotype in the attribute?
I need to identify in my [file].XSD the stereotype of my attributes.
Today, I only can identify the name and the type of attributes.
Ex:
<xs:element name="Class.cd_Order" type="xs:int"/>
Anybody have a idea?
thanks,
Fabio Pinheiro
Fabio,
From my memory of playing with the creation of XSDs - there is NO provision in the W3C specification for the direct specification of stereotype in the xs:element structure. If you go to the W3C site you'll see a primer for this stuff.
Others can comment on whether EA actually does something with stereotype to provide that information in the generated artifact. But the above, I think, is the W3C position.
HTH
Paolo