Posted by Lisa on Tuesday, February 21, 2012 at 4:33pm.
I am not very familiar with XML. However, the above code looks reasonable to me. (Names are matched and nested, proper cases have been used, etc.)
If you have doubts about the syntax, you can have a syntax check using W3C's XML validator:
http://validator.w3.org/check
You just have to paste the code and it will display the diagnostics.
To be shared among users/systems, I believe it will need a document type definition (DTD) to define all the fields. As you notice, some fields are omitted. So the definition will indicate what are the "default" fields.
If you don't have adequate notes or textbook for your course, you can read up on W3C's tutorials. They are full of examples and explanations. See for example:
http://www.w3schools.com/xml/
Hope this helps.
Related Questions
programming - In order to share an XML file among different systems and programs...
Computer Programming (XML) - Using the employees.xml file below, create a DTD ...
Math - How would one write y = 2/3x -4 in standard form? First read: http://www....
programming - How do I delete a file on my shared LAN network with vbs??? 1. The...
window XP - Which of the following is true of the Encrypting File System (EFS)? ...
Operating Systems - How would you search the entire file system for a file named...
Computers (XML) - employees.xml <?xml version="1.0" encoding=&...
bookkeeping - to complete tasks quickly and efficiently a operating system has ...
bookkeeping - Using your computer, you create a file for an existing costumer. ...
Programming - 2. Then it should prompt the user for the input file name of the ...
For Further Reading