xsl-list
[Top] [All Lists]

SV: [xsl] Concatinating a string with XML-tag

2006-04-29 14:35:40
Thnx dude :) Solved my problem...

-----Ursprungligt meddelande-----
Från: Manfred Staudinger [mailto:manfred(_dot_)staudinger(_at_)gmail(_dot_)com] 
Skickat: den 28 april 2006 21:09
Till: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Ämne: Re: [xsl] Concatinating a string with XML-tag

Hi Jimmy,
<img border="0" src="./../Pictures/2.jpg" width="400" />

NOW TO MY QUESTION:
"./../Pictures/<xsl:value-of select="number(id)"/>.jpg" gets me the
string, but how do I insert it as the src?
try the attribute value template:
<img border="0" src="./../Pictures/{id].jpg" width="400" />

Manfred

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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