in this game im trying to make,im trying to use xml to make save files. i want to creat new nodes that are named depending on how many save files there are.
This is how the file would look.
<Game Saves>
<1>
<Name></Name>
<DateSaved></DateSaved>
<Area></Area>
</1>
<2>
<Name></Name>
<DateSaved></DateSaved>
<Area></Area>
</2>
</Game Saves>
[left]
[/left]
in this case, there are 2 save files how would i continue the process and make a third and many more when needed.or in other terms, how would i add
<3>
<Name></Name>
<DateSaved></DateSaved>
<Area></Area>
</3>
to the “GameSaves” node