[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] not getting through


Subject: [xsl] <xsl:value-of...> not getting through
From: Sebastian Tennant <sebyte@xxxxxxxxxxxxxxx>
Date: Sun, 08 Jan 2006 17:06:52 +0000

Hi all,

I'm trying output an HTML anchor using the content of 'item' (plain
text). If I replace the value-of element with plain text it works
fine, but with the value-of element in place I get nothing...

  <xsl:template match="item">
    <xsl:if test="./@link">
      <a href="{./@link}"><xsl:value-of select="." /></a><br />
    </xsl:if>
  </xsl:template>

Whu is this?  Any help much appreciated.  I'm stumped.

sdt


Current Thread