Text Parsing

So, all in all I will be talking about XML parsing, but first I need to know how to parse text. I found out through some other post about XML that you can load it with a :

var dialogueText : TextAsset;

You can then print (dialogueText); and the text will print, so I know I have the correct stuff loaded. After that, how can I parse the text? I don’t want to load the .net xml extensions because apparently it isn’t the smartest thing to do. I am trying to make my own parser.

I have made an xml parser in Mel Script in Maya before, so it isn’t new to me, I just have no idea where to start looking for finding a way to parse the text on the TextAsset. The Unity Script Reference isn’t helping me any.

If anyone has a good tutorial that I can look at I would appreciate it.

I found this
http://forum.unity3d.com/threads/44441-XML-Reading-a-XML-file-in-Unity-How-to-do-it?highlight=dialogue
http://www.unifycommunity.com/wiki/index.php?title=Save_and_Load_from_XML_U3_Collections

but it isn’t helping me. I am lost at where to look for reference on how to get this to work.

Edit : I am not looking for a finished xml parser, looking to make my own, just the referenced I find use .net In Mel you can load a file, then look for next line and next line and parse your own info. I just can’t find a way to parse the text file line for line or anythign like that once I load it with TextAsset

Never mind, I found it about five minutes after posting. I hate it when I spend hours looking for something, then finally ask for help when I come to a dead end, then find it afterwards. If anyone has any tutorials I would still want to look at them though. If you are a mod and want to delete this, i won’t complain.