[CD] Write an XML document that declares an address book containing contacts. Each contact has a name and address. An address should contain attributes for street name, state and phone number. The attribute value for state should not contain spaces. For example, "New York" would invalidate the XML document. The attribute value for a phone number must contain hyphens and no spaces (e.g., 978-555-1212). Use entities for states names. [Hint: use NMTOKENs]

What will be an ideal response?

```







city NMTOKEN #REQUIRED
state NMTOKEN #REQUIRED>
```

Computer Science & Information Technology

You might also like to view...

The Table Analyzer analyzes the database and normalizes it for you

Indicate whether the statement is true or false

Computer Science & Information Technology

Where are directories and files stored on a disk drive?

a. The superblock b. The data block c. The boot block d. The inode block

Computer Science & Information Technology