<?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">

<xsl:output encoding="iso-8859-1" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN/" method = "xml" version="1.0" omit-xml-declaration="yes" standalone="no" indent="yes" />

<xsl:template match="/">
<xsl:text disable-output-escaping = "yes">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN/" &gt;</xsl:text>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title>Search results</title>
	</head>
	<body>
  	<xsl:apply-templates select="xhtml:html/xhtml:body/xhtml:div[@id='content']/xhtml:div[@id='results']/xhtml:ul"/>
	<br />
	</body>
</html>
</xsl:template>

<xsl:template match="xhtml:ul">
<dl>
<xsl:for-each select="xhtml:li">
	<dt>
	<a href="http://{./xhtml:ul/xhtml:li}">
		<xsl:value-of select="xhtml:h3"/>
	</a>
	</dt>
	<dd>
		<xsl:value-of select="xhtml:p"/>
	</dd>

</xsl:for-each>
</dl>
</xsl:template>

</xsl:stylesheet>
