Please help to read xml using asp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kosal
    New Member
    • Feb 2007
    • 68

    #1

    Please help to read xml using asp

    Dear Sir/Madam

    Please help me to read xml code as below using asp

    thanks
    Best Regards

    Code:
    <?xml version="1.0" encoding="utf-8" ?>  
    <Service_GetHotelDetail> 
    	<GetHotelDetail_Response>   
    		<HotelId>WSMA0611001101</HotelId>    
    		<HotelName>Landmark Bangkok (The)</HotelName>    
    		<Rating>4.00</Rating>    
    		<HotelRooms>414</HotelRooms>    
    		<Address1>138 Sukhumvit Road</Address1>   
    		<Address2/>    
    		<Address3/>    
    		<Continent>Asia</Continent>    
    		<Region>South East Asia</Region>    
    		<Location>Sukhumvit Road</Location>    
    		<Telephone>66 (0) 2254 0404</Telephone>    
    		<Facsimile>66 (0) 2253 4259</Facsimile>    
    		<Email>rsvn@landmark.com</Email>    
    		<Website>www.landmark.com</Website>    
    		<Description>At The Landmark, we have a choice of accommodation to suit your style and personality. From beautifully furnished superior rooms and newly created Deluxe Suites to the Superior rooms of our exclusive Landmark club, complete with its private lounge and Boardroom. All of our guestrooms and Suites now offer broadband internet access.</Description>    
    		<Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-logo.jpg?d668428fbde8e04d7901ef8032153ceb"/>    
    		<Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-facility1.gif?b1102eadeb4d8676bdb36970aa226fac"/>    
    		<Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-overview1.jpg?a438721d749c5e307153fd3369783200"/>   
    		<Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-room1.jpg?7c347b048e77a293be06a1bfa6940d64"/>   
    		<Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-general1.jpg?fdd41847871839a95c28f63696fd03af" />       
    		<Facility name="Business Center" />    
    		<Facility name="Coffee" />    
    		<Facility name="Dining Room" />    
    		<Facility name="Exercise" />    
    		<Facility name="Fitness Center" />    
    		<Facility name="Internet Service" />    
    		<Facility name="Meeting Rooms" />    
    		<Facility name="Minibar" />    
    		<Facility name="Non Smoking Room" />    
    		<Facility name="Teacoffee" />     
    	</GetHotelDetail_Response>   
    </Service_GetHotelDetail>
    Last edited by Dormilich; Mar 21 '09, 11:05 AM. Reason: added [code] tags
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    This is a really general question. How do you want to read it? As text? Do attributes matter? Do you want a big document structure, or can you read it as it comes?

    Comment

    Working...