hi all,
I'm trying to display an image, but its not working - either because i'm new to this xml/xsl, i'm dense or more probably both.
I've pasted the code below and any helps really appreciated.
Mark
<xsl:stylesheet xmlns:xsl=" language="VBScript">
<xsl:template match="/"><xsl:apply-templates select="*"/></xsl:template>
<xsl:template match="Event">
<TABLE width="100%">
<tr><td><TABLE bgcolor="silver" cellspacing="1px">
<tr>
<td bgcolor="#F5F7FB"><b>Document Name</b></td>
<td bgcolor="#F5F7FB"><b>Username</b></td>
</tr>
<tr>
<td bgcolor="#F5F7FB"><xsl:value-of select="DocName"/></td>
<td bgcolor="#F5F7FB"><xsl:value-of select="UserName"/></td>
</tr>
</TABLE></td></tr>
<tr>
<td>
<img src='Documents/afax.jpg' />
</td>
</tr>
<tr>
<td>
error--> <img src='<xsl:value-of select="DocLocation">'/>
</td>
</tr>
</TABLE>
</xsl:template>
</xsl:stylesheet>
I'm trying to display an image, but its not working - either because i'm new to this xml/xsl, i'm dense or more probably both.
I've pasted the code below and any helps really appreciated.
Mark
<xsl:stylesheet xmlns:xsl=" language="VBScript">
<xsl:template match="/"><xsl:apply-templates select="*"/></xsl:template>
<xsl:template match="Event">
<TABLE width="100%">
<tr><td><TABLE bgcolor="silver" cellspacing="1px">
<tr>
<td bgcolor="#F5F7FB"><b>Document Name</b></td>
<td bgcolor="#F5F7FB"><b>Username</b></td>
</tr>
<tr>
<td bgcolor="#F5F7FB"><xsl:value-of select="DocName"/></td>
<td bgcolor="#F5F7FB"><xsl:value-of select="UserName"/></td>
</tr>
</TABLE></td></tr>
<tr>
<td>
<img src='Documents/afax.jpg' />
</td>
</tr>
<tr>
<td>
error--> <img src='<xsl:value-of select="DocLocation">'/>
</td>
</tr>
</TABLE>
</xsl:template>
</xsl:stylesheet>