<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:template match="/root">
	<result select="select='items'">
		<xsl:apply-templates select="items"/>
	</result>
	<result select="select='/root/items/*'">
		<xsl:apply-templates select="/root/items/*"/>
	</result>
</xsl:template>

<xsl:template match="items/item">
		position: <xsl:value-of select="position()"/>
		nr: <xsl:value-of select="@nr"/>
</xsl:template>

</xsl:stylesheet>
