<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT	TrackingUpdate (YahooOrder+) >
<!ATTLIST	TrackingUpdate
		password CDATA #REQUIRED
		>

<!ELEMENT       YahooOrder (AddressInfo?,
			    LineItem*
			    )>
<!ATTLIST	YahooOrder
		id CDATA #REQUIRED
                shipped (YES|NO)  #IMPLIED
		bogus (YES|NO) #IMPLIED
		bogusReason CDATA #IMPLIED
		emailCustomer (YES|NO) #IMPLIED
		trackingNumber CDATA #IMPLIED
		shipper CDATA #IMPLIED
		shipState CDATA #IMPLIED
		>
<!-- shipper should be one of (Ups|Fedex|Airborne|Usps) or additional carriers in the "Additional Shipping Carriers" field -->
<!-- shipState should be one of (nostatus|shipped|24h|2-3d|4-7d|1-2w|2-3w|4-6w|6-8w|unavail) -->
<!ELEMENT	AddressInfo (Name,
			     Address1?,
			     Address2?,
			     City?,
			     State?,
			     Country?,
			     Zip?,
			     Phone?,
			     Email?,
			     Custom*
			     )>
<!ATTLIST	AddressInfo
		type (ship|bill) #REQUIRED
		>
<!ELEMENT	Custom (#PCDATA)>
<!ATTLIST	Custom
		name CDATA #REQUIRED
		>
<!ELEMENT       LineItem (#PCDATA) >
<!ATTLIST	LineItem
		number CDATA #REQUIRED
                shipped (YES|NO)  #REQUIRED
		trackingNumber CDATA #IMPLIED
		shipper (Ups|Fedex|Airborne|Usps) #IMPLIED
		shipState CDATA #IMPLIED
		>
<!-- shipState should be one of (nostatus|shipped|24h|2-3d|4-7d|1-2w|2-3w|4-6w|6-8w|unavail) -->
