   Xml Animation Engine
  Hey everyone, I'm working on an animation engine in c++ and dx, and I have xml set up, and everything works fine, but I had a question on how to do something. What I would like to do in my xml data is be able to define ranges and frames for animations. Like in xml if i could say  North="{1,2,3,4}"  Die="{7,3,1,0}"But first of all I dont have any idea how to do arrays in xml. And second I don't know how, when reading the array in, to test if the end of the array has been reached, and set that as the end of the range. Any help would be appreciated, thanks.   
  There are a few ways in which you could do this, such as...<animation name="north">    <frames>   <frame>1</frame>   <frame>2</frame>   <frame>3</frame>   <frame>4</frame>    </frames></animation>Or...<animation name="north">    <frames>   <length type="seconds">3</length>   <frameIndexes>1,2,3,4</frameIndexes>    </frames></animation>There are many posibilities, the above are just 2 of them   