Homework 2: Due February 9, 2011
Valid Strings:XYZXYXY XXYXYYYX ZZ ZYZYZZXYZZXZZXZ
Which of the following are valid
according to the production  AttValue?
( See the XML specification at the W3 Consortium here: http://www.w3.org/TR/REC-xml.. You may need to refer to additional productions to answer this question.)
d) '' (that's two single-quotes with nothing between them)
a) Write an XML DTD for people as described below:
b) Create an example XML document which includes all combinations of elements for the DTD given in part a).
You should view the XML document in a web browser and also validate your XML document. One online validation site is: http://www.w3schools.com/xml/xml_validator.asp
Put the DTD and XML files in a zip file and SUBMIT HERE.