|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Simple Question newie
[[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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








