xsl-list
[Top] [All Lists]

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

2006-04-28 12:09:37
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>
--~--

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