I would like to transform a XML document and make some regex/replace on some attribute.

Here is the XML:

```
<node1>
    <node2>
        <item attrbitueToModify="Blabla"></item>
    </node2>
    <node3>
        <node4>
            <item attrbitueToModify="Blabla"></item>
        </node4>
    </node3>
<node1>

```

Here the transformation

```
<xsl:template match="*" >
    <node1>
        <xsl:for-each select="attribute::*" >
            <xsl:choose>
                <xsl:when test="fn:name() = 'attrbitueToModify'">
                    <xsl:attribute name="attrbitueToModify" ><xsl:value-of select="replace(., 'blabla', 'replaced')" /></xsl:attribute>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:copy-of select="." />
                </xsl:otherwise>
            </xsl:choose>
        </xsl:for-each>

        <xsl:apply-templates select="*" />
    </node1>
</xsl:template>

```

I don't know how to change `<node1>` from the transformation to something dynamic.