Question: Design a DTD for invoices, as described in How To 25.3. Data from how to 25.3 Rams 1 3. LESENE 2212 HOW TO 25.3 Writing

Design a DTD for invoices, as described in How To 25.3.

Data from how to 25.3

Rams 1 3. LESENE 2212 HOW TO 25.3 Writing a DTD You

write a DTD to describe a set of XML documents of the

same type. The DTD specifies which elements contain child elements (and the

order in which they may appear) and which elements contain text. It

Rams 1 3. LESENE 2212 HOW TO 25.3 Writing a DTD You write a DTD to describe a set of XML documents of the same type. The DTD specifies which elements contain child elements (and the order in which they may appear) and which elements contain text. It also specifies which elements may have attributes, which attributes are required, and which defaults are used for missing attributes. These rules are for DTDs that describe program data. DTDs that describe narrative text generally have a much more complex structure. Step 1 Get or write a couple of sample XML documents. For example, if you wanted to make a DTD for XML documents that describe an invoice, you could study samples such as the one in How To 25.1. Step 2 Make a list of all elements that can occur in the XML document. In the invoice example, they are invoice address name street city state zip items. item product description quantity

Step by Step Solution

3.13 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Based on the instructions from the images we can create a Document Type Definition DTD for the invoi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming Questions!