/Users/lyon/j4p/src/xml/adbk/AddressBook.xml

1    <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> 
2    <!DOCTYPE AddressBook [ 
3        <!ELEMENT Address ( 
4            (title | firstName| lastName)*, 
5            (streetAddress|address1 | address2| address3 )*, 
6            (homePage | emailAddress)*, 
7            (homePhone | businessPhone | faxPhone)*, 
8            city, 
9            state, 
10           zip?)> 
11       <!ELEMENT title (#PCDATA)> 
12       <!ELEMENT firstName (#PCDATA)> 
13       <!ELEMENT lastName (#PCDATA)> 
14       <!ELEMENT address1 (#PCDATA)> 
15       <!ELEMENT address2 (#PCDATA)> 
16       <!ELEMENT address3 (#PCDATA)> 
17       <!ELEMENT streetAddress (#PCDATA)> 
18       <!ELEMENT emailAddress (#PCDATA)> 
19       <!ELEMENT homePage (#PCDATA)> 
20       <!ELEMENT city (#PCDATA)> 
21       <!ELEMENT state (#PCDATA)> 
22       <!ELEMENT zip (#PCDATA)> 
23       <!ELEMENT homePhone (#PCDATA)> 
24       <!ELEMENT businessPhone (#PCDATA)> 
25       <!ELEMENT faxPhone (#PCDATA)> 
26       <!ELEMENT AddressBook (Address*)> 
27   ]> 
28   <AddressBook> 
29       <Address> 
30           <firstName>FirstNameFirst</firstName> 
31           <lastName>Lyon</lastName> 
32           <streetAddress>300 North Benson Rd.</streetAddress> 
33           <homePage>http://www.docjava.com</homePage> 
34           <homePhone>203-555-1212</homePhone> 
35           <city>Fairfield</city> 
36           <state>ct</state> 
37           <zip>06460</zip> 
38    
39       </Address> 
40       <Address> 
41           <lastName>Lyon </lastName> 
42           <firstName>FirstNameSecond</firstName> 
43           <streetAddress>300 North Benson Rd.</streetAddress> 
44           <city>Fairfield</city> 
45           <state>ct</state> 
46           <zip>06460</zip> 
47    
48       </Address> 
49       <Address> 
50           <title>dr.</title> 
51           <firstName>Doug</firstName> 
52           <lastName>Lyon </lastName> 
53           <address1> 125 Stratton Rd</address1> 
54           <streetAddress>300 North Benson Rd.</streetAddress> 
55           <businessPhone> 203-131313</businessPhone> 
56           <homePage>http://www.docjava.com</homePage> 
57           <city>Fairfield</city> 
58           <state>ct</state> 
59           <zip>06460</zip> 
60    
61       </Address> 
62   </AddressBook>