This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Simple Question newie


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]