Subject: Re: Generating HTML anchor link via XSL From: "Wayne Davis" <quietman@xxxxxxxx> Date: Thu, 27 Jul 2000 11:11:23 -0700 |
Eric... here's a sample of how I have this working... The XML contains these two Elements, and the XSL first checks to see if there is data there... HTH Wayne Davis www.quietech.com quietman@xxxxxxxx ************************************************************* <xsl:if test="EMAIL[.!='']"> <a> <xsl:attribute name="href">mailto:<xsl:value-of select="EMAIL"/> </xsl:attribute> <li><font face="Arial" size="2" color="aqua"> <xsl:value-of select="EMAIL"/></font></li> </a> </xsl:if> <xsl:if test="WEB[.!='']"> <a> <xsl:attribute name="href">http://<xsl:value-of select="WEB"/> </xsl:attribute> <xsl:attribute name="target">_blank</xsl:attribute> <li><font face="Arial" size="2" color="white"> <xsl:value-of select="WEB"/></font></li> </a> </xsl:if> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: generating HTML Anchor link via, Laurie Mann | Thread | Node numbering, Martin Bryan |
RE: ?XSL & XML inside one file, Jeni Tennison | Date | Re: Help me getting started, akira |
Month |