Jump to content

XML DTD


Guest nanayaa44

Recommended Posts

Guest nanayaa44

A Book Society would like to record their members’ favourite books. Create an XML DTD with the following structure.A favourite book list is made up of one or more nominations;A nomination is made up of the member details and the book details in any order;The member details is made up of a first name followed by a last name;The book details is made up of a book title, an optional author and zero or more reasons for nominations in that order;The element member details has a required attribute called member idThe element book has an optional attribute to hold the year the book was published.These entries consist of plain text: first name, last name, book title, author, reasons for nominations. State any differences if the above XML DTD was rewritten as an SGML DTD.Use brief sample test data to write a valid nomination list containing two members using the XML DTD created for Question 1 (a).

Link to comment
Share on other sites

Is this a homework question? What have you got so far?
Synook: Yes, this is indeed a homework assignment, and I've even seen the source before. nanayaa44: We won't do your homework for you. You're supposed to be learning this stuff, not just copying someone else's answers. What you're doing is cheating, essentially. We'll be glad to answer questions, but not if the question is, "What's the answer?" Frankly, you strike me as a very lazy student. You wouldn't even take the time to rewrite the homework question- you just copied and pasted it, the same way you expected to copy and paste the answer you hoped to be given here. What will you do in a few years when (if) you get hired and are given this problem to solve? Are you going to tell your employer to wait while you go ask the people on the W3Schools forum how to do your job for you?
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...