Fixing email template
authorterminatorX <>
Tue, 15 Apr 2003 21:33:05 +0000 (21:33 +0000)
committerterminatorX <>
Tue, 15 Apr 2003 21:33:05 +0000 (21:33 +0000)
website/tX.xsl

index 253248396d96f101b93df48753b9a5c842a39255..7709db7e7ca18b4f3174dd95602a15697a60120c 100644 (file)
   </xsl:template>
   <xsl:template match='person'>
     <a>
-      <xsl:attribute name='href'>mailto: 
-      <xsl:if test="email='alex@lisas.de'">alex@lisas.de</xsl:if>
-      <xsl:if test="email!='alex@lisas.de'">NOSPAM_ 
-      <xsl:value-of select="substring-before(email, '@')" />_AT_ 
-      <xsl:value-of select="substring-after(email, '@')" />_NOSPAM</xsl:if></xsl:attribute>
+      <xsl:attribute name='href'>mailto:<xsl:if 
+        test="email='alex@lisas.de'">alex@lisas.de</xsl:if><xsl:if 
+        test="email!='alex@lisas.de'">NOSPAM_<xsl:value-of 
+        select="substring-before(email, '@')" />_AT_<xsl:value-of 
+        select="substring-after(email, '@')" />_NOSPAM</xsl:if>
+      </xsl:attribute>
       <xsl:value-of select='name' />
     </a>
   </xsl:template>