Reference no: EM132103196
Practice of XML Document With the basics of XML, it is now possible to create an XML document that is well-formed, and can be used in a variety of applications.
In the following example, you will be creating a simple XML document for Maddy Wilson, the manager for Friday's Diner. Maddy would like to keep track of her clients in an XML document.
Create the basic XML document from the specifications below. **When creating the document, be sure to include the XML declaration.
1. The root element of the document should be named clients. clients element should contain multiple occurrences of a child element named client.
2. The client element will have five child elements: name, address, phone, email, and favorite_meal.
3. The client element has an attribute named id containing the customer id number.
4. The name element contains two child elements; firstname, and lastname.
5. The address element contains the following child elements; street, city, state, and zip.
6. The phone element contains the clients phone number.
7. The email element contains the clients email address.
8. The favorite_meal element contains the name of the favorite meal of the client.