1. A computer-readable medium having stored therein a set of instructions, which when executed by a computer, cause the computer to perform a method of initializing an XML database, the method comprising: parsing an XML file to extract a plurality of records, the records arranged in a hierarchical form; creating, for each record, a correspond class, each class having associated therewith one or more attributes; and creating a plurality of handling methods for each of one or more attributes associated with each class object, the handling methods defining how the database can be accessed.