This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL question for email link
- From: "Christopher R. Maden" <crism at maden dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sun, 07 Jul 2002 15:42:24 -0700
- Subject: Re: [xsl] XSL question for email link
- References: <3D28B654.8000502@cox.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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
--
Christopher R. Maden, Principal Consultant, crism consulting
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list