techstu 0 Newbie Poster

hi...i have to create a code generator in c++, but i am starting from scratch , so first i need to create an xml file....
can anyone help me to create a simple xml file, with only two fields i.e., name and surname....
and this is where i'll fetch the values into

%name%
%sirname%

this is a txt file