Re: [xsl] XSL question for email link

Subject: Re: [xsl] XSL question for email link
From: Jeff Self <jocknerd@xxxxxxx>
Date: Sun, 07 Jul 2002 22:16:24 -0400
Christopher R. Maden wrote:

At 15:15 7/7/02, Mike Brown wrote:

<xsl:tempate match="NAME">
  <a href="mailto:{EMAIL}";>
    <xsl:value-of select="concat(FIRST,' ',LAST)"/>
  </a>
</xsl:template>


Except that in addition to the d-o-e problem, EMAIL is not a child of NAME;

<xsl:tempate match="NAME">
  <a href="mailto:{following-sibling::EMAIL}";>
    <xsl:value-of select="concat(FIRST,' ',LAST)"/>
  </a>
</xsl:template>

~Chris

Thanks, that solved it.




XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread