Add Custom Hyper link In Sharepoint 2010 DataView Web part

  1. <xsl:choose>    
  2.       <xsl:otherwise>    
  3.     
  4.             <xsl:attribute name="href">../Forms/DisplayPromoSummary.aspx?Id=<xsl:value-of select="$thisNode/@ID">

  5.             </xsl:value-of></xsl:attribute>    
  6.     
  7.             <xsl:value-of select="$thisNode/@ID">-<xsl:value-of select="$thisNode/@Title"></xsl:value-of>

  8.             </xsl:value-of>

  9.      </xsl:otherwise>    
  10.     
  11. </xsl:choose>