Data Use - XML

So I am trying to get my head around using XML files and Unity. Mind you I have just started learning about XML files. I created an Access database. I exported a table into an XML format file.

I am trying to learn how to use it now.

I have looked at the wiki example http://wiki.unity3d.com/index.php?title=Saving_and_Loading_Data:_XmlSerializer many times, and just haven’t gotten a good understanding of it.

I would like to be able to set up some info in a table via access…create xml files from the table, then in unity, display that data via labels/textboxes and such.

Does anyone have any real basic tutorials or something? My head is swimming!

EDIT - P.S. I would like to use java/unity script. Not C#.

That wiki article is actually pretty well written. What specifically is tripping you up?

Monster.js → no need to attach it to a GameObject

#pragma strict
 
 public class Monster
 {
 	public var Name : String;
 }

TestScript.js - > attach to a GameObject

#pragma strict

import System.IO;
import System.Xml.Serialization;

function Start()
{
	Save(); // call to save to xml
	Invoke("Load", 3.0); // call to parse the xml and create the object
}

function Save () {
	var m:Monster = new Monster();
	m.Name = "mymonster";
	var serializer : XmlSerializer = new XmlSerializer(typeof(m));
	var stream : Stream = new FileStream("Monster.xml", FileMode.Create);
	serializer.Serialize(stream, m);
	stream.Close();
}

function Load () {
	var deserializer : XmlSerializer = new XmlSerializer(typeof(Monster));
	var stream : Stream = new FileStream("Monster.xml", FileMode.Open);
	var m : Monster = deserializer.Deserialize(stream) as Monster;
	stream.Close();
	Debug.Log(m.Name); // Log output of the property
}