Book a Demo

Author Topic: Support for XML Schema xsd:appinfo  (Read 2035 times)

daheater

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Support for XML Schema xsd:appinfo
« on: January 22, 2007, 06:40:04 am »
I am attempting to model the ARINC Specification 816 XML schema.  The spec uses the xsd:appinfo element in the xsd:attribute element to indicate the attribute position as such:

<xs:complexType name="ApronElement">
 <xs:annotation>
   <xs:documentation>
     DO-291/ED-119-AM_ApronElement
   </xs:documentation>
 </xs:annotation>
 <xs:attribute name="numberid" type="Count" use="required">
   <xs:annotation>
     <xs:documentation>
       Feature identification number
     </xs:documentation>
     <xs:appinfo>
       AttributePosition="1"
     </xs:appinfo>
   </xs:annotation>
 </xs:attribute>
 <xs:attribute name="idobject" type="xs:string" use="required">
   <xs:annotation>
     <xs:documentation>
       idapron (name of apron).
     </xs:documentation>
     <xs:appinfo>
       AttributePosition="2"
     </xs:appinfo>
   </xs:annotation>
 </xs:attribute>

Can this be done in EA?  And, if so, how?

Thanks
Greg