Aup did you mean XML or did you mean XHTML?
Cos XML is not ment to be used for pages in that way.
What W3C says.
XML was designed to carry data.
XML is not a replacement for HTML.
XML and HTML were designed with different goals:
XML was designed to describe data and to focus on what data is.
HTML was designed to display data and to focus on how data looks.
HTML is about displaying information, while XML is about describing information.
If you want to find out more about what W3C says abot XML and do some tutorials on it look at theis link.
Linky linkAbout XHTML
What W3C says.
What Is XHTML?
* XHTML stands for EXtensible HyperText Markup Language
* XHTML is aimed to replace HTML
* XHTML is almost identical to HTML 4.01
* XHTML is a stricter and cleaner version of HTML
* XHTML is HTML defined as an XML application
* XHTML is a W3C Recommendation
What to find out more check out this link to W3C.
Linky linkAfter seeing the code you posted the other day when you were asking for help. If I were you I would concentrate on using CSS correctly before learning either XHTML or XML as good CSS is more important than XHTML or XML.
In you code the other day you had styles in you HTML which should not be done really they should be in at least the head of the doc but I prefer to use an external styles sheet where apropriate.
Also you were using tables for layout which is not the proper way anymore either you should use CSS for layout by use of div tags.
From the HTML 4.0 specification:
Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.