Logo

Role of XPath

    <xsl:for-each select="Addresses/Person">
    <xsl:for-each select="Addresses/Person[Tel/@where = 'mobile']">
    <xsl:attribute name="xlink:href">
      <xsl:value-of 
         select="concat('#a',position()+1)"/></xsl:attribute>
    </xsl:attribute

Ivan Herman, W3C Head of Offices16 July, 20029 (27)