xml version encoding UTF-8 xsl stylesheet version xmlns xsl http www w

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>Mokselle</title>
</head>
<body>
<xsl:for-each select="page/blocks/block">
<h1><xsl:value-of select="title" /></h1>
<div>
<xsl:value-of select="text" disable-output-escaping="yes" />
</div>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>