1. A method of extracting content from a file and storing the content in a database, the file including content instances associated with file fields having a respective file field type, the method being performed using a processing system having a processor coupled to a memory, the method including: a) receiving a file, the file being a mark-up language file, each content instance being stored as a respective node in a corresponding file field; b) determining an indication of a document type definition of the file from the file by examining the elements and attributes contained in the file and then comparing the elements and attributes to a list of elements and attributes contained within each different document definition; c) retrieving a mapping in the form of a node map, the node map including a node rule for each node in the mark-up language file, the mapping being determined by selecting the node map from a list of node maps using the indication of the document type definition of the file, wherein the node rules specifying how the content of each type of the element or attribute of each node should be stored in the database; d) after retrieving the mapping, creating a data store in the memory of the processing system, the data store including store fields specified in the mapping, in accordance with the file fields of the file; e) after creating the data store, retrieving a content instance for a parent node from a file field of the file; f) storing the content instance in a store field of the store in accordance with the file field type of the file field and the mapping; g) retrieving a content instance for a child node of the parent node from a file field of the file; and, h) storing the content instance in a store field in the store in accordance with the file field type of the associated file field and the mapping; and, i) repeating steps e) to h) for each parent node; and, j) after storing the content instances in the store, transferring each content instance from the store to the database in accordance with the store field type of the respective store field and the mapping, wherein the transferring comprises creating one or more vacant locations in the query in accordance with the field type; transferring each content instance into a respective vacant location; and, applying the query to the database to thereby transfer the content instances to the database.