|
-
Mar 18th, 2002, 01:47 PM
#8
Hyperactive Member
Originally posted by donut
i managed to convert that code in to vb.net, and got it to work, although i'm having problems reading from an xml file that's structured like this:
Code:
<?xml version="1.0" standalone="no"?>
<Users>
<User1>
<Category1>
<Account1 Username="blah" Password="mypass1" />
<Account2 Username="abc123" Password="mypass2" />
</Category1>
<Category2>
<Account1 Username="dfgs" Password="dfgdrtgre" />
<Category2>
</User1>
<User2>
<Category1>
<Account1 Username="ertret" Password="cvbghgf" />
</Category1
</User2
</Users>
first of all, it would seem that you can't have two parent nodes with the same name, even if they have seperate parent nodes themselves. secondly, i haven't a clue how to read/write to that. can anyone help?
<?xml version="1.0" standalone="no"?>
<Users>
<User1>
<Category1>
<Account1 Username="blah" Password="mypass1" />
<Account2 Username="abc123" Password="mypass2" />
</Category1>
<Category2>
<Account1 Username="dfgs" Password="dfgdrtgre" />
<Category2>
</User1>
<User2>
<Category1>
<Account1 Username="ertret" Password="cvbghgf" />
</Category1>
</User2>
</Users>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|