では、今回メインの XSLT に行ってみますか・・こいつは XML から XHTML へ変形する部分ですね。(^o^)
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="
version="1.0">
<xsl:output method="xml" indent="yes"
doctype-public="-//W3C//DTD XHTML 1.1//EN"
doctype-system="
omit-xml-declaration="no" />
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="hello">
<html xmlns=" xml:lang="ja">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8" />
<title><xsl:value-of select="title"/></title>
</head>
<body>
<p>
<xsl:apply-templates select="sentence"/>
</p>
</body>
</html>
</xsl:template>
<xsl:template match="sentence">
<xsl:value-of select="."/><br />
</xsl:template>
</xsl:stylesheet>
こんなもんで、行っとく?(^^;