lundi 5 octobre 2015

defining an xml structure to use it as a database in sqlite

I would like to declare a simple structure in xml which logically looks like the following:

<complexType>
<stop>tiburtina</stop>
<line>line1</line>
  <time>1 2 4 5 8...</time>
</complexType>

It corresponds to describe a metro stop in rome with the times at which the line passes. I will use this structure in a table sqlite. How do I declare exactly the xml? could I make use of the arrays in xml, and how?

Aucun commentaire:

Enregistrer un commentaire