Hi!
I try to create am xml file in VB, and the problem that I have is when I'm trying to create attributes (in my example the attribute att1) and populate them.
<node1>
<node2 att1="1"></node2>
<node2 att1="2"></node2> <-----
</node1>
So here is what happens:
When I create for the second element node2(line 3) the attributes, the program is creating the attributes for the first element node2(line 2) and overwrites the old attributes because I'm using selectsinglenode("node1/node2"
. I know this method is selecting the first node with this name, but how do I get to the second element with the same name?
Thanks a lot,
Durug
I try to create am xml file in VB, and the problem that I have is when I'm trying to create attributes (in my example the attribute att1) and populate them.
<node1>
<node2 att1="1"></node2>
<node2 att1="2"></node2> <-----
</node1>
So here is what happens:
When I create for the second element node2(line 3) the attributes, the program is creating the attributes for the first element node2(line 2) and overwrites the old attributes because I'm using selectsinglenode("node1/node2"
Thanks a lot,
Durug