for example i have<br><br>schoolClassName<br><ul><li>student
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <br></li><li><ul><li>name: firstname</li></ul><ul><li>surname: firstsurname</li></ul><ul><li>mark: 6...</li></ul></li><li>student
&nbsp; &nbsp;&nbsp; <br></li><li><ul><li>&nbsp;&nbsp; name: firstname1</li></ul><ul><li>
&nbsp;&nbsp; surname: firstsurname1</li></ul><ul><li>
&nbsp;&nbsp; mark: 7...</li></ul></li></ul><ul><li>student
&nbsp; &nbsp;&nbsp; <br>
</li><li>
  <ul><li>&nbsp;&nbsp; name: firstname2</li></ul>
  <ul><li>
&nbsp;&nbsp; surname: firstsurname2</li></ul>
  <ul><li>
&nbsp;&nbsp; mark: 5.. &nbsp;  <br></li></ul><br>
</li></ul><ul><li>etc.</li></ul>is where some written methods which parse any structure object&nbsp; to xml file.<br><br>could anyone give simple example, how to do it.<br>or there is no simple example :(<br><br>i saw some packages, but have no idea how to get started using them.. 
<br><br>or should i write it by myself :)<br><br>