|
Hi, i'm a bit new to this complicated world of web designing, so this question might sound lot more sillier than the title.
Ok, i'm been reading about xhtml and xml. Now what i've gathered so far is that xml can store data. Now, lets say, i've got a site which gives news. Ok, so i've designed my xhtml files and put my data in an xml file. Now how do i make this data appear in the xhtml file. Besides, how does my xhtml code diffrentiate between the tags of xml and the normal tags.
The second thing I want to know is that what's so great about xhtml. So far i've connected that it validates your code. So basically now my code is well-formed. Is that it. I couldnt find a single tutorial which shows how a xhtml file makes use of customized dtd. Now i know that the xhtml file uses a doctype, but if the doctype used is provided by w3c, why should i learn about dtd?
Thanks in advance.
|