Second implementation
The process of implementing the implementation below
INDEX.HTM.FILES / DATA / RECORD.XML
The first thing to decide is the "data structure" of the stored data. Similar to other web app development, usually to be a database modeling, determine the structure and association of the table. Here we use the XML file to record data, so we must first be a schema of the XML file that stores data. As the database, the XML file is a database, performance is a difference in the database. On the other hand, the difference is the XML file as a data storage, unlike the database has strong, complete data management software support. In this case, this Schema file we will develop will play an important role when doing data integrity and legality check.
The three graphs below show the structure of this Record.xsd (Schema file).
Figure 1 record.xsd structure diagram
The root node of the document is "resume list" instead of "resume". This is convenient, and a number of resumes can be placed in an XML record file.