This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Simple Question newie
- From: "Mac Rost" <mrost at travelnow dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 13 Sep 2002 09:18:37 -0500
- Subject: RE: [xsl] Simple Question newie
- Reply-to: xsl-list at lists dot mulberrytech dot com
[[Rick]]
I have read up on this in the archives but the solution provided does
not work for me.
I was trying to get a link to show up in my generated HTML. My file
looks like
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>
]]
Rick,
Try this...
<a><xsl:attribute name='href'><xsl:value-of
select='anID'/></xsl:attribute></a>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list