This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Simple Question newie
- From: "James Fuller" <james dot fuller at o-idev dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 13 Sep 2002 15:12:02 +0100
- Subject: RE: [xsl] Simple Question newie
- Reply-to: xsl-list at lists dot mulberrytech dot com
> XML File Snippit:
> <anId>
> yahoo.com
> </anId>
>
> my XSL Snippit that does not work:
> <xsl:template match="anId">
> <A><xsl:attribute name="HREF"><xsl:value-of
> select="{.}"/></xsl:attribute>Click Here</A>
> </xsl:template>
>
your are mixing shorthand ( curly brackets ) up !
try
<xsl:template match="anId">
<A href="{.}">Click Here</A>
</xsl:template>
gl, jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list