I am quite new to XML and posted a request for example code yesterday.
Unfortunately, I did not do a very good job in explaining what I was
looking for. Here is an example of a small piece of the file:
<Scoreboard>
<Events>
<Event ID="001212" Name="EventName 1" />
<Event ID="001213" Name="EventName 2" />
<Event ID="001214" Name="EventName 3" />
<Event ID="001215" Name="EventName 4" />
</Events>
<EventTypes>
<EventType ID="01" SingleGame="tru e" Name="EventName 1" />
<EventType ID="02" SingleGame="tru e" Name="EventName 2" />
<EventType ID="03" SingleGame="tru e" Name="EventName 3" />
<EventType ID="04" SingleGame="tru e" Name="EventName 4" />
<EventType ID="05" SingleGame="tru e" Name="EventName 5" />
<EventType ID="06" SingleGame="tru e" Name="EventName 6" />
<EventType ID="07" SingleGame="tru e" Name="EventName 7" />
</EventTypes>
<Teams>
<Team ID="11" City="City1" Name="Name1" City="City1"
Nickname="nickn ame1" Conference="Con ference1">
<Player ID="91" />
<Player ID="190" />
<Player ID="77" />
<Player ID="133" />
<Player ID="144" />
<Player ID="195" />
<Player ID="220" />
<Player ID="231" />
<Player ID="214" />
<Team ID="13" City="City2" Name="Name2" City="City2"
Nickname="nickn ame2" Conference="Con ference1">
<Player ID="91" />
<Player ID="190" />
<Player ID="77" />
<Player ID="133" />
<Player ID="144" />
<Player ID="195" />
<Player ID="220" />
<Player ID="231" />
<Player ID="214" />
</Team>
</Teams>
<Match ID="999" StatusType="6" IsChallengeEnab led="false"
VenueID="NBB" SchedDate="2006-07-30" SchedTime="13:0 0"
ElapsedTime="02 :01" Winner="H" Attendance="" Final="Y">
<ChairUmpires >
<ChairUmpire Num="1" Name="" />
<ChairUmpire Num="2" Name="" />
</ChairUmpires>
<Teams>
<Team ID="1" Type="H" ChallengesMade= "5" ChallengesWon=" 3">
<Player ID="162" Coach="N" />
<Player ID="92" Coach="N" />
<Player ID="127" Coach="N" />
<Player ID="183" Coach="N" />
<Player ID="58" Coach="Y" />
<Stats FSPts="77" FSPtsWon="53" SSPts="21" SSPtsWon="11"
FSAces="2" SSAces="2" DF="2" TeamBrkPts="16" TeamBrkPtsWon=" 6"
TotPtsWon="110" TeamDeucePts="6 " TeamDeucePtsWon ="1" GamesPlayed="35 "
GamesWon="21" />
</Team>
</Match>
</Scoreboard>
How could I loop through a specific node, such as "Scoreboard/Teams"
and pull out all the information for ONLY that specific node? Once
that is done I would like to be able to move to another node such as
"Match/Teams" and loop through only that node and get all the info. I
would not need to loop through every node in the file, just specific
ones.
As I mentioned, this is just a small sample of the file, it is more
complex than this, but if I could get to this stage I could figure the
rest out. All this info must be put into a database.
Please if anyone has an example on how to do this, I would really
appreciate it. I am in urgent need of getting this done immediately.
Thanks,
Steve
Jun 3 '07
67 2693
"Mr. Arnold" <Ar****@arnold. comwrote:
One other thing here Pete Pan you NG lapdog and sheriff, because this one
didn't make it either, I should have been there at your birth so that I
could have strangled you with your own placenta. :)
Unless they're allowing internet access from the various wards and prisons,
that would certainly eliminate you as a newsgroup troll.....
(I know, I know. Don't feed the trolls. But Endless September is upon us,
and I miss the good old days...)
--
Chris Mullins, MCSD.NET, MCPD:Enterprise , Microsoft C# MVP http://www.coversant.com/blogs/cmullins
Chris Mullins [Most Valuable Pussy] wrote:
"Mr. Arnold" <Ar****@arnold. comwrote:
>One other thing here Pete Pan you NG lapdog and sheriff, because this one didn't make it either, I should have been there at your birth so that I could have strangled you with your own placenta. :)
Unless they're allowing any access from the various wards and prisons,
that I have escaped from over the years, it would certainly put me as a wannabe troll.
(I know, I know. I can't help it. Don't feed me. Because endless toilet paper is around me,
and I need a good old wipe...)
<EOR>
Mark Rae wrote:
Just killfile him...
And allow him to harass anybody he wants without anyone
saying something because everybody killfiled him ?
Arne
Arne Vajhøj wrote:
Mark Rae wrote:
>Just killfile him...
And allow him to harass anybody he wants without anyone
saying something because everybody killfiled him ?
Arne
That's a good one. I like your style. :) But I tell you what I'll do,
I'll make sure I can come through everyone's killfile if I decide to
jump on someone in the NG in the future. This one is for you MR. <g>
"Mr. Arnold" <Ar****@arnold. comwrote:
[Silly Insults]
If you want to have a good flame, could you at least try to be creative?
Especially if you're trying to elicit responses from people so we can all
escalate up and have a true insulting session going on.
As it sits now, it's as childish as you walking into the argument clininc,
and the conversation is going:
"You're in the wrong place."
"No, I'm Not."
"Yes, you are."
Put some thought into your insults, really make 'em sting. As it sits, the
killfile awaits - if only because you're booring and unimaganitive.
--
Chris Mullins, MCSD.NET, MCPD:Enterprise , Microsoft C# MVP http://www.coversant.com/blogs/cmullins
Chris Mullins [Multiple Most Valued What?] wrote:
>
[Silly Insults and I am here about it.]
If I want to have a good flame, I should at least be creative.
You got a response from me so now I need to see if I can escalate up
and have a true insulting session going on, because I am a wannabe.
As I sit on the toilet now, I dream of children walking in to see me,
and I dream about it all the time. I have plans for them.
I am going to put some thought into how I am going to make that work
sitting here. I am stupid and need to put myself into a killfile and
move to an outhouse.
<EOR>
Ah well.
If that's the best troll you can be, you're not really worth feeding.
Shame really, as I thought you had more potential than that.
--
Chris Mullins, MCSD.NET, MCPD:Enterprise , Microsoft C# MVP http://www.coversant.com/blogs/cmullins
"Chris Mullins [MVP]" <cm******@yahoo .comwrote in message
news:uh******** *****@TK2MSFTNG P05.phx.gbl...
Ah well.
If that's the best troll you can be, you're not really worth feeding.
Shame really, as I thought you had more potential than that.
I guess you're bored now like the wannabe you are, MVP. It works every time,
even with the best of the flame dancers, the flame snuff-out. <g>
<EOR>
You take care now, ya hear.
<PLANK>
<bye> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Az Tech |
last post by:
Hi people,
(Sorry for the somewhat long post).
I request some of the people on this group who have good experience
using object-orientation in the field, to please give some good ideas
for topics to include in a course on object-orientation that I'm going
to conduct.
(I will later summarize all the replies and discussion, for the
|
by: csx |
last post by:
Hi all,
I'm trying to count the number of leafnodes for a particular node.
What im trying to do is make a function, that taking the tree structure:
key row desc parent
1 1 A 0
2 2 B 1
3 2 C 1
4 3 D 3
|
by: Claire Reed |
last post by:
Dear All,
I am repeatedly encountering a problem whilst looping through XML
Nodes and I am unsure as to what is going on and how I can get around
it.
I load the following XML document into an XmlDocument object using
LoadXml:
<?xml version="1.0" encoding="UTF-8"?>
|
by: Shapper |
last post by:
Hello,
I have a XML file that includes the node <item>:
....
<title>...</title>
<url>...</url>
<item>
<title>title 01</title>
<description>description 01</description>
</item>
|
by: pmcguire67 |
last post by:
There has been a lot of discussion lately about extending the treeview control to allow finding a node by key rather than by index. Everyone seems to agree that a hashtable is needed to accomplish this. Also, there is a KB article (http://support.microsoft.com/default.aspx?scid=kb;en-us;311318) purporting to show you how to extend the treenode to include a key. This article seems to be nearly useless to me, as (despite adding a...
| |
by: **Developer** |
last post by:
Dim tvn As TreeNode
For Each tvn In rootNode.Nodes
....SNIP
rootNode.Nodes.Remove(tvn)
Next
|
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 and
I was wondering if anyone here would be able to give me some tips for
young players such as myself, for learning the language.
Is this the best Newsgroup for support with JAVA?
|
by: TF |
last post by:
Hello all,
I made a ASP.NET 2.0 site that shows possible "recipes" for paint
colors stored in an access dbase. Basically, 1000 colors are stored
with specific RGB values in separate columns. A user sees all the
colors listed on the page with hyperlinks that open the "mixes" page.
The mixes page goes through each record, compares it with all other
records in a ratio up to "maxratio". If it finds a ratio that matches
the redvalue of...
|
by: fido19 |
last post by:
Once upon a time, there lived a chimpanzee called Luycha Bandor (aka Playboy Chimp).
Luycha was unhappily married to Bunty Mona, a short but cute little lady chimp. Luycha
was tall and handsome – he was feeling uncomfortable taking Bunty to public places
along with him. People would stare at them all the while. At one point, Luycha could not
stand it anymore and he decided to do some justice to his name. He started looking for a
new hope in...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |