If you are a bit confident with xml/xsl technology, there is
nothing more to say that I defined a dtd (based on xthml) and
a couple of xsl stylesheets, otherwise it's more complicated.
A DTD it is a Data Type Definition: It describes how an XML
document should be structured. The XML document is where you
write the content of your homepage. Actually, the DTD uses
a mix of XHMTL and specific tags.
For example this is the xml file
(if you have problem to visualize it, try to download it)
from which this page is generated. Its structure is quite
easy and intuitive. XHTML is used within the <text>
tag, but nowhere else.
A XSL stylesheet is a XML document that describe the
transformations of the original xml document in a xhtml
document (that would be your homepage).
To apply the xsl stylesheet to you xml file you need a xsl
engine (I use xalan).
I'm not really good with explanations :-|