Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Erwin Simmelink

Pages: [1]
1
In which way does the XSD generator of EA 7.1 order the classes / complextypes?

And is there a way to change it?

2
Hi,

I’m trying to generate a certain XSD from modelled classes and relations in EA, with the build in XSD generator of EA. I’m having two issues:

1. The XSD is generated only for the classes in a certain the package.
I’d like to include a class from a different package (or just a whole other package) into the XSD. I have put a relation between the two classes from the different packages, but the class from the other package does not show up in the generated XSD.

2. I want to change the element type to set it to name it differently from the element name. I can’t find where I can change the element type from a certain class.

The is how the EA XSD generator creates a certain part of the XSD:
<xs:complexType name="Criteria">
   <xs:sequence>
      <xs:element name="Person" type="Person" minOccurs="0"/>
      <xs:element name="FinancialAgreement" type="FinancialAgreement" minOccurs="0"/>
   </xs:sequence>
</xs:complexType>

And this is how I want it to be generated:
<xs:complexType name="_Criteria">
   <xs:sequence>
      <xs:element name="Person" type="_Person" minOccurs="0"/>
      <xs:element name="FinancialAgreement" type="_FinancialAgreement" minOccurs="0"/>
   </xs:sequence>
</xs:complexType>

Is this possible, and if so, can you tell me where I can change it?

Thanks in advance for your help.


Pages: [1]