# Xml and Addition

**URL:** <https://forum.kirupa.com/t/xml-and-addition/84589>\
**Category:** programming\
**Created:** [March 28, 2005, 11:57pm UTC](https://forum.kirupa.com/t/xml-and-addition/84589 "2005-03-28T23:57:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enix591](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/enix591/32/751_2.png) [@Enix591](https://forum.kirupa.com/u/Enix591)\
**Post date:** [March 28, 2005, 11:57pm UTC](https://forum.kirupa.com/t/xml-and-addition/84589/1 "2005-03-28T23:57:32Z")

</div>

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
