Create a well-formed XML document that adheres to the following DTD file (called customer.dtd). Use Notepad and save your document as wk8hwpt1.xml to your Desktop. You should include at least 5 customers in your XML document (you will make up or fabricate the specific data associated with each customer). The XML document should start with the following two (2) lines, where the ______ should be filled in with the proper names as exemplified in the textbook in section 15-3a figure 15.17. customer.dtd file: - CUS_ID is a 4-digit number - CUS_DATEIN is the effective membership date of the customer in the company in <3-letter Month> <2-digit year> format (i.e., 01 Dec 20, 12 May 21) - CUS_STATE is a 2-character state abbreviation (all caps) - CUS_ZIP is a 5-digit zip code - CUS_PHONE is in the format xxx-xxx-xxxx - CUS_TAXID is a 9-digit number similar to a social security number (numbers only) - CUS_MBRTYPE can be any of these: DIAMOND, GOLD or SILVER
-
Create a well-formed XML document that adheres to the following DTD file (called customer.dtd). Use Notepad and save your document as wk8hwpt1.xml to your Desktop. You should include at least 5 customers in your XML document (you will make up or fabricate the specific data associated with each customer). The XML document should start with the following two (2) lines, where the ______ should be filled in with the proper names as exemplified in the textbook in section 15-3a figure 15.17.
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE ____________ SYSTEM "_____________">
customer.dtd file:
- CUS_ID is a 4-digit number
- CUS_DATEIN is the effective membership date of the customer in the company in <day> <3-letter Month> <2-digit year> format (i.e., 01 Dec 20, 12 May 21)
- CUS_STATE is a 2-character state abbreviation (all caps)
- CUS_ZIP is a 5-digit zip code
- CUS_PHONE is in the format xxx-xxx-xxxx
- CUS_TAXID is a 9-digit number similar to a social security number (numbers only)
- CUS_MBRTYPE can be any of these: DIAMOND, GOLD or SILVER
Trending now
This is a popular solution!
Step by step
Solved in 2 steps