xsl-list
[Top] [All Lists]

RE: Simple Question newie

2002-09-13 07:18:37
[[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



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