ok, I know what XML is and how you make it, but I don't understand it's uses. IF I was making a news script and used xml i would write the xml somehing like
Code:
<news>
<title>Title</title>
<posted>Liam</posted>
<main>MAin News Here</main>
</news>
but why write that when you could just easily write it in XHTML, I really don't grasp the use of XML so if someone could explain it to me and maybe some exampels of it's use it would help me understand why to use it and I probably would use it.
I have read some things on W3Schools but still, that doesn't help me much, I know it's so your data is outside of your markup, but still, why not write the news in a text file and include it with php or ssi or something?
Help me understand