|
Subject: RE: [xsl] Simple Question newie From: "James Fuller" <james.fuller@xxxxxxxxxx> Date: Fri, 13 Sep 2002 15:12:02 +0100 |
> 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Simple Question newie, Holmberg Rick-ra0119 | Thread | Re: [xsl] Simple Question newie, David Carlisle |
| [xsl] Simple Question newie, Holmberg Rick-ra0119 | Date | RE: [xsl] Problem with iterating th, Yates, Danny (ANTS) |
| Month |