473,327 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Please help to read xml using asp

Kosal
68
Dear Sir/Madam

Please help me to read xml code as below using asp

thanks
Best Regards

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="utf-8" ?>  
  2. <Service_GetHotelDetail> 
  3.     <GetHotelDetail_Response>   
  4.         <HotelId>WSMA0611001101</HotelId>    
  5.         <HotelName>Landmark Bangkok (The)</HotelName>    
  6.         <Rating>4.00</Rating>    
  7.         <HotelRooms>414</HotelRooms>    
  8.         <Address1>138 Sukhumvit Road</Address1>   
  9.         <Address2/>    
  10.         <Address3/>    
  11.         <Continent>Asia</Continent>    
  12.         <Region>South East Asia</Region>    
  13.         <Location>Sukhumvit Road</Location>    
  14.         <Telephone>66 (0) 2254 0404</Telephone>    
  15.         <Facsimile>66 (0) 2253 4259</Facsimile>    
  16.         <Email>rsvn@landmark.com</Email>    
  17.         <Website>www.landmark.com</Website>    
  18.         <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>    
  19.         <Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-logo.jpg?d668428fbde8e04d7901ef8032153ceb"/>    
  20.         <Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-facility1.gif?b1102eadeb4d8676bdb36970aa226fac"/>    
  21.         <Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-overview1.jpg?a438721d749c5e307153fd3369783200"/>   
  22.         <Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-room1.jpg?7c347b048e77a293be06a1bfa6940d64"/>   
  23.         <Images path="http://www.travflex.com/ImageData/Hotel/landmark_bangkok_the-general1.jpg?fdd41847871839a95c28f63696fd03af" />       
  24.         <Facility name="Business Center" />    
  25.         <Facility name="Coffee" />    
  26.         <Facility name="Dining Room" />    
  27.         <Facility name="Exercise" />    
  28.         <Facility name="Fitness Center" />    
  29.         <Facility name="Internet Service" />    
  30.         <Facility name="Meeting Rooms" />    
  31.         <Facility name="Minibar" />    
  32.         <Facility name="Non Smoking Room" />    
  33.         <Facility name="Teacoffee" />     
  34.     </GetHotelDetail_Response>   
  35. </Service_GetHotelDetail>
Mar 21 '09 #1
1 3001
jkmyoung
2,057 Expert 2GB
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?

http://www.stardeveloper.com/article...0072801&page=1
Mar 23 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: abmd.tw | last post by:
dear all : please help me to slove the problem as below code , it can't run . i want to read a file and display. #include <iostream> #include <fstream> #include <cstdlib> #include <assert.h>
1
by: Chua Wen Ching | last post by:
Hi there, I have some problems when reading XML file. 1. First this, is what i did, cause i can't seem to read "sub elements or tags" values, so i place those values into attributes like this....
1
by: A Hirsi | last post by:
I have created a vb .net program as a service that is using a simple ftpclient to connect to a remote server and check the status of a file for subsequent downloading if there have been changes to...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
0
by: raa abdullah | last post by:
Overview A conflict-serializbility\recoverability checker, SCR, is a program that takes in a schedule and outputs 2 decisions: Conflict serialzable or Not confilict serializable AND Recoverable or...
4
by: H-S | last post by:
Please help. This is a real puzzler! Originally posted on microsoft.public.dotnet.framework.windowsforms but no answer found! I have a read-only textBox which shows the results of a selection...
22
by: Amali | last post by:
I'm newdie in c programming. this is my first project in programming. I have to write a program for a airline reservation. this is what i have done yet. but when it runs it shows the number of...
4
by: skunapareddy | last post by:
I am needing to read a blob from database and pass it to another java program. I researched internet and found a program that reads a file on the client pc and gives bytes, but when I modified the...
3
by: Ethan Furman | last post by:
len wrote: I've never had the (mis?)fortune to work with COBOL -- what are the files like? Fixed format, or something like a dBase III style? I
1
by: DarkGiank | last post by:
Hi, im new to csharp and im trying to create a class that can change the application database without no rewriting all connection code... but cause some reason it is not working... it tells me that...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.