Im planning to write a script that parses an automatically generated text/xml file, which contains information about certain events on a gameserver.
It should contain information about the time, date, number of people allowed, server, etc.
I guess this can be done by searching for certain strings, which contain the info, something like this:
Code: Select all
<event name="eventnamehere" server="theserver" numberofpeople="x" etc,>
Now, my question is, are there any tutorials about text parsing, or could someone please briefly explain to me how i could do this?
Thanks in advance
The best way to start learning is to start helping.