How to code XSL to insert the inline images from a n XML file?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span style="font-size:x-small; color:#0000ff <span style="font-size:x-small; color:#0000ff <font size="2" color="#0000ff <font size="2" color="#0000ff
I have an XML file with a photo file name:<br/>
<br/>
**************************<br/>
<
</font></font><font size="2" color="#0000ff

</font>
<span style="font-size:x-small; color:#a31515 <span style="font-size:x-small; color:#a31515 Employee<span style="font-size:x-small; color:#0000ff <span style="font-size:x-small; color:#0000ff ><br/>
<span style="font-size:x-small; color:#0000ff <span style="font-size:x-small; color:#0000ff <<span style="font-size:x-small; color:#a31515 <span style="font-size:x-small; color:#a31515 Photo<span style="font-size:x-small; color:#0000ff <span style="font-size:x-small; color:#0000ff ><span style="font-size:x-small Ashman.jpg<span style="font-size:x-small; color:#0000ff <span style="font-size:x-small; color:#0000ff </<span style="font-size:x-small; color:#a31515 <span style="font-size:x-small; color:#a31515 Photo<span style="font-size:x-small; color:#0000ff <span style="font-size:x-small; color:#0000ff ><br/>
</<span style="font-size:x-small; color:#a31515 <span style="font-size:x-small; color:#a31515 Employee<span style="font-size:x-small; color:#0000ff <span style="font-size:x-small; color:#0000ff ><br/>
**************************<br/>
Then I used an XSL file, trying to display the photos. The xsl code below displayed just the photo file names, e.g.
Ashman.jpg , not the photo which is saved in the same folder. How do I code the xsl, so that I can insert the inline image of the photo from a XML image name into the xsl codes.<br/>
*************************************<br/>
<span style="font-size:x-small; color:#0000ff <span style="font-size:x-small; color:#0000ff
<span lang="EN <xsl:template match="Employee <br/>
<tr><br/>
<td valign="top <center><br/>
<xsl:value-of select="Photo" /><br/>
**************************************

<hr class="sig Jeffrey

View the full article
 
Back
Top