Subject: RE: [xsl] Simple Question newie From: "Mac Rost" <mrost@xxxxxxxxxxxxx> Date: Fri, 13 Sep 2002 09:18:37 -0500 |
[[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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Simple Question newie, David Carlisle | Thread | RE: [xsl] Simple Question newie, Holmberg Rick-ra0119 |
RE: [xsl] Problem with iterating th, Yates, Danny (ANTS) | Date | Re: [xsl] Simple Question newie, David Carlisle |
Month |