Hi,
I'm trying to do something that's (probably) very simple, except today I'm totally rubbish and getting nowhere - mind on other things.
Take this example xml
What I need to do and can't work out how to because i'm retarded is read in this file, then get all the bits of stuff out I need from the serverconfig section, then do a foreach (recipients) ... do something.
Can someone explain to me in words of one syllable or with large print and pictures how to do this - with code if necessary/you don't mind.
Thanks in advance
I'm trying to do something that's (probably) very simple, except today I'm totally rubbish and getting nowhere - mind on other things.
Take this example xml
Code:
<serverconfig>
<servername />
<username />
<password />
</serverconfig>
<recipients>
<recipient>
<emailaddress />
<trigger />
</recipient>
<recipient>
<emailaddress />
<trigger />
</recipient>
<recipient>
<emailaddress />
<trigger />
</recipient>
</recipients>
What I need to do and can't work out how to because i'm retarded is read in this file, then get all the bits of stuff out I need from the serverconfig section, then do a foreach (recipients) ... do something.
Can someone explain to me in words of one syllable or with large print and pictures how to do this - with code if necessary/you don't mind.
Thanks in advance
