473,396 Members | 1,816 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,396 software developers and data experts.

I need a parse example...

I have the following xml file, and i need to get the values of <ID>, <HomeID> and <HomeName> in vb.net, i've tried several ways, but i can't get it, can you give me a vb.net example haw i do that? Thanks and sorry for my englis

<?xml version="1.0"?><Data><FileName>Details.asp</FileName><Version>1.1</Version><UserID></UserID><FetchedDate>2004-05-11 22:30:55</FetchedDate><ActionType>view</ActionType><Match><ID>17120916</ID><Date>2004-05-10 00:30:00</Date><FinishedDate>2004-05-10 02:15:00</FinishedDate><Home><HomeID>27449</HomeID><HomeName>sacap</HomeName><Dress>N040404</Dress><HomeG>2</HomeG><Type>0</Type><Skill>8</Skill></Home></Match></Data>
Nov 12 '05 #1
1 1328
Take a look at my example, it is just a beginning and not
the complete code for your needs, but it will help you to
start.

http://weblogs.asp.net/sonukapoor/ar...4/05/08/128574
..aspx

Sonu Kapoor
http://weblogs.asp.net/sonukapoor

-----Original Message-----
I have the following xml file, and i need to get the values of <ID>, <HomeID> and <HomeName> in vb.net, i've
tried several ways, but i can't get it, can you give me a
vb.net example haw i do that? Thanks and sorry for my
english
<?xml version="1.0"?
<Data><FileName>Details.asp</FileName><Version>1.1</Versio n><UserID></UserID><FetchedDate>2004-05-11
22:30:55</FetchedDate><ActionType>view</ActionType><Match><
ID>17120916</ID><Date>2004-05-10
00:30:00</Date><FinishedDate>2004-05-10
02:15:00</FinishedDate><Home><HomeID>27449</HomeID><HomeNam
e>sacap</HomeName><Dress>N040404</Dress><HomeG>2</HomeG><Ty
pe>0</Type><Skill>8</Skill></Home></Match></Data>.

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Gregory Nans | last post by:
hello, i need some help to 'tree-ify' a string... for example i have strings such as : s = """A(here 's , B(A ) silly test) C(to show D(what kind) of stuff i need))""" and i need to...
4
by: Marquisha | last post by:
If this is off-topic, please forgive me. But I thought this might be the perfect spot to get some advice about how to proceed with a project. Working on a Web site design for a nonprofit...
1
by: Srinivasa Parupalli | last post by:
Dear Friends, I am struck up with logic. I am using one class(BMSLexer) which takes filename as arugument and the instance of the class is used my another class. example is shown below. Now my...
18
by: Q. John Chen | last post by:
I have Vidation Controls First One: Simple exluce certain special characters: say no a or b or c in the string: * Second One: I required date be entered in "MM/DD/YYYY" format: //+4 How...
8
by: moondaddy | last post by:
I'm writing an app in vb.net 1.1 and I need to parse strings that look similar to the one below. All 5 rows will make up one string. I have a form where a use can copy/paste data like what you...
1
by: Pupkin | last post by:
Hi, I was excited to use Microsoft Index Server, built into IIS, to set-up a site-search function, but it doesn't, by default, parse the ASP code of the pages it indexes. This makes it sort of a...
7
by: akira | last post by:
Hello, I need to parse this XML file or XML stream . Is it possible to parse it with DOM reading each DataContainer one by one. <DataContainer> <name> </name> <birthDate> </birthDate>...
2
by: Anders B | last post by:
I want to make a program that reads the content of a LUA array save file.. More precicely a save file from a World of Warcraft plugin called CharacterProfiler, which dumps alot of information about...
25
by: Jon Slaughter | last post by:
I have some code that loads up some php/html files and does a few things to them and ultimately returns an html file with some php code in it. I then pass that file onto the user by using echo. Of...
3
by: Milagro | last post by:
Hello Everyone, I'm trying to debug someone elses php code. I'm actually a Perl programmer, with OO experience, but not in php. The code is supposed to upload a photo from a form and save it...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.