Patent ID: 8615483

Claim:
A method of transferring content from a file to a database, the file including content instances, each content instance being associated with a respective field, each field having a respective type, and the content instances being arranged hierarchically in the file, the method including: a) determining the type of each field; b) generating store fields in a store, each store field having a respective store field type; c) storing each content instance in a respective store field in accordance with the field type of the associated field by: i) selecting a respective content instance; ii) determine any child content instances to the respective content instance; iii) transferring the content instance and any child content instances from the file to the store; and, d) transferring each content instance from the store to the database in accordance with the store field type and using a respective query, the query being generated in accordance with the field type and database field type, and the method including: i) creating one or more vacant locations in the query in accordance with the store field type; ii) transferring each content instance into a respective vacant location; iii) applying the query to the database to thereby transfer the content instance(s) to the database; and, iv) repeating steps d)(i) to d)(iii) for any other content instances within the file, the method including transferring each content instance into a respective database field in accordance with the database field type and the store field type, the method including storing each content instance in a store by: a) determining a mapping between each field type of the associated field and each database field type; b) creating store fields corresponding to each content instance, each store field being determined in accordance with the field type of the associated field and the mapping; and, c) transferring the content instance to the respective store field.