reate the corresponding DTD document to which the following partial well-formed XML document adheres to (first lines are missing) for Orders. Make sure to include the proper “+”, “*”, and “?” signs as needed in your DTD. Use Notepad and save your document as wk8hwpt2.dtd on your Desktop. See figure 15.17 in section 15-3a in the textbook for an example of a valid DTD file that corresponds to an XML file as shown.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Create the corresponding DTD document to which the following partial well-formed XML document adheres to (first lines are missing) for Orders. Make sure to include the proper “+”, “*”, and “?” signs as needed in your DTD. Use Notepad and save your document as wk8hwpt2.dtd on your Desktop. See figure 15.17 in section 15-3a in the textbook for an example of a valid DTD file that corresponds to an XML file as shown.

 

orders.xml file:
-Orders>
<Order>
<Order_ID>34523</Order_ID>
<Order_Date>12/08/02</Order_Date>
<Customer_ID>1010</Customer_ID>
<PaymentType>VISA</PaymentType>
<ShippingMethod>UPS GRND</ShippingMethod>
<Order_ShipDate>12/12/02</Order_ShipDate>
<Order_ShipCost>6.70</Order_ShipCost>
<Order_Subtotal>59.00</Order_Subtotal>
<Order_Tax>5.90</Order_Tax>
<Order_Total>64.90</Order_Total>
<Order_Status>SHIPPED</Order_Status>
<ORDLINE>
<Product_Code>QWERT-456</Product_Code>
<Quantity>10</Quantity>
<UnitPrice>2.50</UnitPrice>
<Taxable>Y</Taxable>
</ORDLINE>
DLINE>
<Product_Code>TB670</Product_Code>
<Quantity>5</Quantity>
<UnitPrice>6.80</UnitPrice>
<Taxable>Y</Taxable>
</ORDLINE>
</Order>
<Order>
<Order_ID>34576</Order_ID>
ier_Date>12/08/02</Order_Date>
stomer_ID>2540</Customer_ID>
<PaymentType>AMEX</PaymentType>
<ShippingMethod>USPS PRIORITY</ShippingMethod>
<Order_ShipDate>12/11/02</Order_ShipDate>
<Order_ShipCost>6.50</Order_ShipCost>
<Order_Subtotal>12.50</Order_Subtotal>
<Order_Tax>1.25</Order_Tax>
<Order_Total>13.25</Order_Total>
<Order_Status>SHIPPED</Order_Status>
<ORDLINE>
<Product_Code>QWERT-456</Product_Code>
<Quantity>5</Quantity>
<
<UnitPrice>2.50</UnitPrice>
<Taxable>Y</Taxable>
</ORDLINE>
</Order>
</Orders>
Transcribed Image Text:orders.xml file: -Orders> <Order> <Order_ID>34523</Order_ID> <Order_Date>12/08/02</Order_Date> <Customer_ID>1010</Customer_ID> <PaymentType>VISA</PaymentType> <ShippingMethod>UPS GRND</ShippingMethod> <Order_ShipDate>12/12/02</Order_ShipDate> <Order_ShipCost>6.70</Order_ShipCost> <Order_Subtotal>59.00</Order_Subtotal> <Order_Tax>5.90</Order_Tax> <Order_Total>64.90</Order_Total> <Order_Status>SHIPPED</Order_Status> <ORDLINE> <Product_Code>QWERT-456</Product_Code> <Quantity>10</Quantity> <UnitPrice>2.50</UnitPrice> <Taxable>Y</Taxable> </ORDLINE> DLINE> <Product_Code>TB670</Product_Code> <Quantity>5</Quantity> <UnitPrice>6.80</UnitPrice> <Taxable>Y</Taxable> </ORDLINE> </Order> <Order> <Order_ID>34576</Order_ID> ier_Date>12/08/02</Order_Date> stomer_ID>2540</Customer_ID> <PaymentType>AMEX</PaymentType> <ShippingMethod>USPS PRIORITY</ShippingMethod> <Order_ShipDate>12/11/02</Order_ShipDate> <Order_ShipCost>6.50</Order_ShipCost> <Order_Subtotal>12.50</Order_Subtotal> <Order_Tax>1.25</Order_Tax> <Order_Total>13.25</Order_Total> <Order_Status>SHIPPED</Order_Status> <ORDLINE> <Product_Code>QWERT-456</Product_Code> <Quantity>5</Quantity> < <UnitPrice>2.50</UnitPrice> <Taxable>Y</Taxable> </ORDLINE> </Order> </Orders>
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY