XML files represent an organized method to save and quickly read information from files.
Since XML is a marked language used for organizing and nesting data, you must first determine what type of data you have and how you want it organized. For example, you might simply have vehicle makes and models, so your XML file structure would be <vehicle><make><model>
and might look something like the following code:
<vehicle> <ford> <car>Taurus</car> <truck>F-350</truck> <van>E-150</van> </ford>
Use the following steps to create and write an XML data structure: