<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:fn="http://www.w3.org/2005/xpath-functions"
>
	<xsl:template match="/root">
		<html>
			<body>
				<xsl:apply-templates select="item[. lt xs:date('2007-05-16')]" />
			</body>
		</html>
	</xsl:template>
	<xsl:template match="item">
		<xsl:value-of select="."/>
		<br />
	</xsl:template>
</xsl:stylesheet>

