Book a Demo

Author Topic: Question about xsd generation  (Read 2180 times)

Pixie

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Question about xsd generation
« on: March 30, 2009, 08:31:54 pm »
Hi all.
Does anyone know if it is possible to let EA generate a different
value for the type of an element
and the value of its name?

e.g.  
(xs:element name="associate" type="associatetype"/>)
Instead of …

      <xs:element name="associate" type="associate"/>
      <xs:complexType name="associate">
            <xs:sequence>
                  <xs:element name="Id" type="xs:long" minOccurs="1" maxOccurs="1"/>
                  <xs:element name="insz" type="xs:long" minOccurs="1" maxOccurs="1"/>
                  <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
            </xs:sequence>
      </xs:complexType>

Sorry for my English

Kind Regards,
Peter

salayande

  • EA User
  • **
  • Posts: 224
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Question about xsd generation
« Reply #1 on: March 30, 2009, 09:15:44 pm »
Yes, it is possible to achieve that by modifying the standard XSD transformation script.

Segun