ComplexTypes in Flat File Definition

This table lists the ComplexType components in the example flat file definition in XML including the details such as ComplexType, Children, Usage, and Source.

Details Source

ComplexType - DefaultAlignmentType

Children - Numeric, Alpha

Used by - MessageType/DefaultAlignment

<xs:complexType name="DefaultAlignmentType">

ComplexType - DefaultEmptyFieldValueType

Children - Numeric, Alpha

Used by - MessageType/DefaultEmpty FieldValue

<xs:complexType name="DefaultEmptyFieldValueType">

ComplexType - DefaultPaddingType

Children - Numeric, Alpha

Used by - MessageType/DefaultPadding

<xs:complexType name="DefaultPaddingType">
  <xs:sequence>
    <xs:element ref="Numeric" minOccurs="0"/>
    <xs:element ref="Alpha" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

ComplexType - DefaultTrimType

Children - Numeric, Alpha

Used by - MessageType/DefaultTrim

<xs:complexType name="DefaultTrimType">
  <xs:sequence>
    <xs:element ref="Numeric" minOccurs="0"/>
    <xs:element ref="Alpha" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

ComplexType - FieldsType

Children - Field

Used by - RecordType/Fields

<xs:complexType name="FieldsType">
  <xs:sequence>
    <xs:element name="Field" type="FieldType"          maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

ComplexType - FilesType

Children - File

Used by - BankRepository/Files

<xs:complexType name="FilesType">
  <xs:sequence>
    <xs:element name="File" type="FileType"/>
  </xs:sequence>
</xs:complexType>

ComplexType - FileType

Children - ID Messages

Used by - FilesType/File

<xs:complexType name="FileType">
  <xs:sequence>
    <xs:element ref="ID"/>
    <xs:element name="Messages" 
         type="MessagesType"/>
  </xs:sequence>
</xs:complexType>

ComplexType - GroupType

Children - Name, TagName, MinOccur, MaxOccur, Group, Records

Used by - MessageType/Group,GroupType/Group

<xs:complexType name="GroupType">
  <xs:sequence>
    <xs:element ref="Name"/>
    <xs:element ref="TagName"/>
    <xs:element ref="MinOccur"/>
    <xs:element ref="MaxOccur"/>
    <xs:element name="Group" type="GroupType" 
          minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Records" type="RecordsType" 
          minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

ComplexType - MessagesType

Children - Message

Used by - FileType/Messages

<xs:complexType name="MessagesType">
  <xs:sequence>
    <xs:element name="Message">
      <xs:complexType>
        <xs:complexContent>
          <xs:extension base="MessageType"/>
        </xs:complexContent>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordsType

Children - Record

Used by - MessageType/Records, GroupType/Records

<xs:complexType name="RecordsType">
  <xs:sequence>
    <xs:element name="Record" type="RecordType" 
          maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordType

Children - Name, TagName, MinOccur, MaxOccur, Fields

Used by - RecordsType/Record

<xs:complexType name="RecordType">
  <xs:sequence>
    <xs:element ref="Name"/>
    <xs:element ref="TagName"/>
    <xs:element ref="MinOccur"/>
    <xs:element ref="MaxOccur"/>
    <xs:element name="Fields" type="FieldsType" 
           minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordsType

Children - Record

Used by - MessageType/Records, GroupType/Records

<xs:complexType name="RecordsType">
  <xs:sequence>
    <xs:element name="Record" type="RecordType" 
          maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordType

Children - Name, TagName, MinOccur, MaxOccur, Fields

Used by - RecordsType/Record

<xs:complexType name="RecordType">
  <xs:sequence>
    <xs:element ref="Name"/>
    <xs:element ref="TagName"/>
    <xs:element ref="MinOccur"/>
    <xs:element ref="MaxOccur"/>
    <xs:element name="Fields" type="FieldsType" 
           minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordsType

Children - Record

Used by - MessageType/Records, GroupType/Records

<xs:complexType name="RecordsType">
  <xs:sequence>
    <xs:element name="Record" type="RecordType" 
          maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordType

Children - Name, TagName, MinOccur, MaxOccur, Fields

Used by - RecordsType/Record

<xs:complexType name="RecordType">
  <xs:sequence>
    <xs:element ref="Name"/>
    <xs:element ref="TagName"/>
    <xs:element ref="MinOccur"/>
    <xs:element ref="MaxOccur"/>
    <xs:element name="Fields" type="FieldsType" 
           minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordsType

Children - Record

Used by - MessageType/Records, GroupType/Records

<xs:complexType name="RecordsType">
  <xs:sequence>
    <xs:element name="Record" type="RecordType" 
          maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordType

Children - Name, TagName, MinOccur, MaxOccur, Fields

Used by - RecordsType/Record

<xs:complexType name="RecordType">
  <xs:sequence>
    <xs:element ref="Name"/>
    <xs:element ref="TagName"/>
    <xs:element ref="MinOccur"/>
    <xs:element ref="MaxOccur"/>
    <xs:element name="Fields" type="FieldsType" 
           minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordsType

Children - Record

Used by - MessageType/Records, GroupType/Records

<xs:complexType name="RecordsType">
  <xs:sequence>
    <xs:element name="Record" type="RecordType" 
          maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordsType

Children - Record

Used by - MessageType/Records, GroupType/Records

<xs:complexType name="RecordsType">
  <xs:sequence>
    <xs:element name="Record" type="RecordType" 
          maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

ComplexType - RecordType

Children - Name, TagName, MinOccur, MaxOccur, Fields

Used by - RecordsType/Record

<xs:complexType name="RecordType">
  <xs:sequence>
    <xs:element ref="Name"/>
    <xs:element ref="TagName"/>
    <xs:element ref="MinOccur"/>
    <xs:element ref="MaxOccur"/>
    <xs:element name="Fields" type="FieldsType" 
           minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

ComplexType - MessageType

Children - Name, TagName,DefaultAlignment, DefaultPadding, DefaultTrim, DefaultEmptyFieldValue, EscapeChar, RecordSeparator, FieldSeparator, Records, Group

Used by - MessagesType/Message

<xs:complexType name="MessageType">
  <xs:sequence>
    <xs:element ref="Name"/>
    <xs:element ref="TagName"/>
    <xs:element name="DefaultAlignment" 
           type="DefaultAlignmentType"/>
    <xs:element name="DefaultPadding" 
           type="DefaultPaddingType"/>
    <xs:element name="DefaultTrim" 
           type="DefaultTrimType"/>
    <xs:element name="DefaultEmptyFieldValue" 
           type="DefaultEmptyFieldValueType"/>
    <xs:element name="EscapeChar" 
           type="xs:string" minOccurs="0"/>
    <xs:element name="RecordSeparator" 
           type="xs:string"/>
    <xs:element name="FieldSeparator" 
           type="xs:string" minOccurs="0"/>
    <xs:sequence>
      <xs:element name="Records" type="RecordsType" 
           minOccurs="0"/>
      <xs:element name="Group" type="GroupType" 
           minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:sequence>
</xs:complexType>

ComplexType - FieldType

Children - Name, TagName, DataType, PaddingChar, Length, StartPos, Alignment, DefaultValue, Trim, EmptyFieldValue, Identifier

Used by - FieldsType/Field

<xs:complexType name="FieldType">
  <xs:sequence>
    <xs:element ref="Name"/>
    <xs:element ref="TagName"/>
    <xs:element ref="DataType"/>
    <xs:element name="PaddingChar" 
         type="xs:string" minOccurs="0"/>
    <xs:element name="Length" 
         type="xs:integer"/>
    <xs:element name="StartPos" 
         type="xs:integer"/>
    <xs:element name="Alignment" minOccurs="0">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="RIGHT"/>
          <xs:enumeration value="LEFT"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="DefaultValue" 
          type="xs:string" minOccurs="0"/>
    <xs:element name="Trim" 
          type="xs:integer" minOccurs="0"/>
   <xs:element name="EmptyFieldValue" 
          type="xs:string" minOccurs="0"/>
    <xs:element name="Identifier" 
          type="xs:string" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>