xml
Posted: Tue Aug 09, 2005 6:00 am
i have seen xml code and whatnot but i dont see what xml can do that html can not do. whats so great about xml anyway?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Great question!shiznatix wrote:i have seen xml code and whatnot but i dont see what xml can do that html can not do. whats so great about xml anyway?
Code: Select all
<?xml version="1.0"?>
<schema version="0.3">
<table name="vote">
<field name="vote_id" type="I1">
<autoincrement/>
<key/>
</field>
<field name="vote_text" type="X"></field>
</table>
</schema>Nope.Grim... wrote:I take it CSS is used for the 'displaying'?
Very close - its not a database (although you can store xml in a databse), but it is a source of data. You can choose to make it public, like many sites do (RSS), or it can be private.Grim... wrote:So it's a bit like storing data in a public database and letting anyone get at it and display it how they like, right?