Keeper of the Hampster
Join Date: Jul 2002
Server: Mithaniel Marr
Posts: 598
|
As stated, a but. XML is a Display Language
All is does is Display Data. Nothing else. It can't see what's what or why what's that is that.
It's used merly to explain what the data is. It's like a fancy INI file, nothing more.
XML is used more these days cause it's easier to parse and you can really do some complicated data structures with it, and there was constraints for it.
IE, in INI you can = or = "" or = '', but in proper XML, you can <></> or < />, nothing else.
It's rather nice, and it's good to have a set of rules govering data files now.
But, that's all. Once an XML file is created, it's up to the reading application to take the data and use it's named tags and values for a purpose.
All the logic is handled in the application. XML just gives you the data (in plain text).
|