Hi all,
I'm trying to render an image using xsl / xml. I'm not very sure about the syntax, I listed the page below.
thanks for any help
<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 here--><img src='<xsl:value-of select="DocLocation">'/>
</td>
</tr>
</TABLE>
</xsl:template>
</xsl:stylesheet> Mark Preece
I'm trying to render an image using xsl / xml. I'm not very sure about the syntax, I listed the page below.
thanks for any help
<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 here--><img src='<xsl:value-of select="DocLocation">'/>
</td>
</tr>
</TABLE>
</xsl:template>
</xsl:stylesheet> Mark Preece