<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html [
<!ENTITY nbsp " ">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/html">
<html>
<xsl:copy-of select="@*"/>
<head>
<xsl:copy-of select="head/node()"/>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link href="resolve:screen-s" title="Gianni" rel="stylesheet" type="text/css" media="screen"/>
<link href="resolve:print-s" title="Gianni" rel="stylesheet" type="text/css" media="print"/>
</head>
<body>
<table id="flowtable" cellpadding="0" cellspacing="0">
<col id="firstcol"/><col id="secondcol"/>
<tr><td id="orizzontale"><h1><xsl:value-of select="body/h1[1]"/></h1></td><td id="angolo"> </td></tr>
<tr><td id="contenuto">
<xsl:copy-of select="body/*[position()>1]"/>
</td>
<td id="navbar">
<xsl:apply-templates select="navigation"/>
</td></tr>
</table>
</body></html>
</xsl:template>
<xsl:template match="navigation">
<xsl:apply-templates select="link[@rel='up' or @rel='same']"/>
<p><xsl:apply-templates select="link[@rel='lang']"/></p>
</xsl:template>
<xsl:template match="navigation/link[@rel='up']">
<p class="sep"><a href="{@href}"><xsl:value-of select="@text"/></a></p>
</xsl:template>
<xsl:template match="navigation/link[@rel='same']">
<p><a href="{@href}"><xsl:value-of select="@text"/></a></p>
</xsl:template>
<xsl:template match="navigation/link[@rel='lang']">
[<a href="{@href}"><xsl:value-of select="@text"/></a>]
</xsl:template>
</xsl:stylesheet>