This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XSL question for email link


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]