<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns="http://www.w3.org/1999/xhtml">


<xsl:template match="/">
<html>
<head>
<title>Transformed: <xsl:value-of select="//xhtml:title"/></title>
<link rel="stylesheet" href="style.css" type="text/css" />
<link rel="home" title="splintered home page" href="/" />
<link rel="up" title="splintered experiments" href="/experiments/" />
</head>
<body>
<h1>Transformed file</h1>

<h2>Page information</h2>
<dl>
<dt>Title</dt>
<dd><xsl:value-of select="//xhtml:title"/></dd>
</dl>

<h2>Meta information</h2>
<dl>
<xsl:for-each select="//xhtml:meta">
<xsl:sort select="@name"/>
<dt><xsl:value-of select="@name"/></dt>
<dd><xsl:value-of select="@content"/></dd>
</xsl:for-each>
</dl>

<h2>Links</h2>
<ul>
<xsl:for-each select="//xhtml:a">
<li><xsl:copy-of select="."/></li>
</xsl:for-each>
</ul>

<h2>Acronyms and abbreviations</h2>
<dl>
<xsl:for-each select="//xhtml:acronym|//xhtml:abbr">
<xsl:sort select="."/>
<dt><xsl:value-of select="."/></dt>
<dd><xsl:value-of select="@title"/></dd>
</xsl:for-each>
</dl>

</body>
</html>
</xsl:template>
</xsl:stylesheet>