I'm trying to modify a xsl sheet written by someone else. but for now I'm just trying to understand...
I'm really surprised to read this :

```
<xsl:template match="par">

    [...]

    <xsl:variable name="pos"><xsl:value-of select="position()"/></xsl:variable>
    <xsl:variable name="page"><xsl:value-of select="../par[position()=$pos]/@page"/></xsl:variable>

    [...]

    <xsl:if test="$page!=''">
    <xsl:if test="$page!=@page">
        <div style="text-align:right;page-break-before:always">
        <font color="#000000" style="font-style:normal;text-decoration:none;font-weight:normal">
                - <xsl:value-of select="$page"/> -
            <br/>
         </font>
        </div>
    </xsl:if>
    </xsl:if>

    [...]

</xsl:template>

```

am I stupid or is this code stupid?

And if it's me, can someone explain me ***How in this case could $page and @page be different?***

thanks