Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Storing arrays in XML

Name: Anonymous 2006-12-28 15:37

Hay guys!

I have an array of items I wish to store in XML (since showing XML on teh intarweb is easy). Does anonymous have a good suggestion as to how?

My current implementation is simply separating each item with a semicolon, i.e. "item1;item2;item3;item4", but this is (a) annoying to split into items, and (b) annoying to put back into XML. Suggestions pl0x!

Name: Anonymous 2006-12-28 18:00

<array>
   <item>5</item>
   <item>penis</item>
   <array>
       <item>nested array with items</item>
   </array>
</array>


or even <item value="penis" />

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List