<xsl:template select="p"> <xsl:number value="position()"/> <xsl:value-of select="."/> </xsl:template>