<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<xsl:variable name="tmp">
			<root>
				<xsl:for-each select="//item">
					<new_item>
						<xsl:value-of select="text()"/>
					</new_item>
				</xsl:for-each>	
			</root>
		</xsl:variable>

		<xsl:apply-templates mode="second_stage" select="$tmp"/>
	</xsl:template>

	<xsl:template match="root" mode="second_stage">
		<html>
			<body>
				<xsl:for-each select="//new_item">
					<xsl:value-of select="text()"/>
					<br/>
				</xsl:for-each>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c)1998-2001 eXcelon Corp.
<metaInformation>
<scenarios/><MapperInfo  srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" />
</metaInformation>
-->
