Re: getting the attribute into the literal result element2004-05-01 10:15:52once again, many thanks! i can't tell you how helpful this is for me. T. On May 1, 2004, at 6:53 PM, Michael Kay wrote: <a> <xsl:attribute name="href"> <xsl:text>lookup.php?word=</xsl:text> <xsl:choose> <xsl:when test="@lemma"> <xsl:value-of select="@lemma"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="."/> </xsl:otherwise> </xsl:choose> <xsl:text> target=iframewindow</xsl:text> </xsl:attribute> <xsl:value-of select="."/> </a>
|
|