1. A method for creating a database to store repeated elements in a complex type of an XML schema comprising performing a machine-executed operation involving instructions, wherein the machine-executed operation is at least one of: A) sending said instructions over transmission media; B) receiving said instructions over transmission media; C) storing said instructions onto a machine-readable storage medium; and D) executing the instructions; wherein said instructions are instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of: accessing an element in the complex type of the XML schema; determining if the element is a repeated element in the complex type; and if the element is a repeated element in the complex type: determining a total maximum number of occurrences value for the repeated element; creating a base database structure for the repeated element of a type that corresponds to the total maximum number of occurrences value.