xsl-list
[Top] [All Lists]

<xsl:value-of...> not getting through

2006-01-08 10:06:52
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>