Last active
April 23, 2018 06:41
-
-
Save Nydhal/4c974a804d08cdaa5936d59a1b753794 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<Hotels> | |
<Hotel Stars="****"> | |
<Name>Harbor View Inn</Name> | |
<Contact> | |
<Phone>(805)963-0780</Phone> | |
<Email>contact@harborviewinn.com</Email> | |
</Contact> | |
<Address BusLines="R2"> | |
<Number>28</Number> | |
<Street>W Cabrillo Blvd</Street> | |
<City>Santa Barbara</City> | |
<Zip>93101</Zip> | |
</Address> | |
</Hotel> | |
<Hotel Stars="**"> | |
<Name>Ala Mar Motel</Name> | |
<Contact> | |
<Phone>(805)962-9208</Phone> | |
<Email>service@alamar.com</Email> | |
</Contact> | |
<Address BusLines="R2"> | |
<Number>102</Number> | |
<Street>West Cabrillo Blvd</Street> | |
<City>Santa Barbara</City> | |
<Zip>93101</Zip> | |
</Address> | |
</Hotel> | |
<Hotel Stars="*****"> | |
<Name>Hotel Californian</Name> | |
<Contact> | |
<Phone>(805)882-0100</Phone> | |
<Email>contact@californian.com</Email> | |
</Contact> | |
<Address BusLines="R2"> | |
<Number>36</Number> | |
<Street>State St</Street> | |
<City>Santa Barbara</City> | |
<Zip>93101</Zip> | |
</Address> | |
</Hotel> | |
<Hotel Stars="***"> | |
<Name>Villa Rosa Inn</Name> | |
<Contact> | |
<Phone>(805) 966-0851</Phone> | |
<Email>villarosa@inn.com</Email> | |
</Contact> | |
<Address BusLines="L1"> | |
<Number>15</Number> | |
<Street>Chapala St</Street> | |
<City>Santa Barbara</City> | |
<Zip>93101</Zip> | |
</Address> | |
</Hotel> | |
<Hotel Stars="**"> | |
<Name>Best Western Beachside Inn</Name> | |
<Contact> | |
<Phone>(805) 965-6556</Phone> | |
<Email>reservations@bestwest.com</Email> | |
</Contact> | |
<Address> | |
<Number>336</Number> | |
<Street>W Cabrillo Blvd</Street> | |
<City>Santa Barbara</City> | |
<Zip>93101</Zip> | |
</Address> | |
</Hotel> | |
</Hotels> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xs:element name="Hotels"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element maxOccurs="unbounded" name="Hotel"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Name" type="xs:string" /> | |
<xs:element name="Contact"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Phone" type="xs:string" /> | |
<xs:element name="Email" type="xs:string" /> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="Address"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Number" type="xs:unsignedShort" /> | |
<xs:element name="Street" type="xs:string" /> | |
<xs:element name="City" type="xs:string" /> | |
<xs:element name="Zip" type="xs:unsignedInt" /> | |
</xs:sequence> | |
<xs:attribute name="BusLines" type="xs:string" use="optional" /> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
<xs:attribute name="Stars" type="xs:string" use="required" /> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment