include XSL variable in HTML img tag

Subject: include XSL variable in HTML img tag
From: Vikram <s_vikki_2000@xxxxxxxxx>
Date: Fri, 2 Jun 2000 14:18:20 -0700 (PDT)
This might be a trivial question.
I have a XSL variable which looks like this...
<xsl:variable name="img1">  
<xsl:value-of select="imageSpec"/>  
</xsl:variable>

The variable img1 now contains a file path (say,
C:\temp\aaa.jpg)

Now, how do I assign this variable to a source of a
HTML img tag.

Say....

<IMG name="xslt" src=(how do I assign the path here?)>

I tried the following  but dosent seem to work

<img name="xslt" src="<xsl:value-of select="$img1"/>>

Can any one help me !!

Thanks.

Vikram


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread