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]

include XSL variable in HTML img tag


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

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