Thread: XML, uses?
View Single Post
08-29-2004, 05:30 PM
#1
Evo is offline Evo
Status: Junior Member
Join date: Aug 2004
Location:
Expertise:
Software:
 
Posts: 39
iTrader: 0 / 0%
 

Evo is on a distinguished road

Send a message via MSN to Evo

  Old  XML, uses?

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