# Image Rendering Reference

## Navigation:

Index General Information Elements Utils Examples

## Table Example

This example shows the usage of a table.

- Template: templates/example10.xsl
- Record: records/empty.xml

## Table Example (Template)

<xsl:stylesheet version="2.0" >
<xsl:template match="Record" >
<image height="300" width="400" >
<field max-height="280" width="380" x="10" y="10" >
<table table-border="2" header-border="5" header-row="true" valign="bottom" >
<row>
<cell table-width="40%" >
<text>
Wide column
</text>
</cell>
<cell>
<text>
Test
</text>
</cell>
<cell>
<label>
Test
</label>
</cell>
<cell>
<label>
Test
</label>
</cell>
<cell>
<label>
Test
</label>
</cell>
</row>
<row>
<cell>
<text font-size="20" >
Wide column
</text>
</cell>
<cell cellpadding="10" >
<label font-size="20" >
Test
</label>
</cell>
<cell>
<text font-size="20" >
Test
</text>
</cell>
<cell>
<label font-size="20" >
Test
</label>
</cell>
</row>
<row cellpadding="15" table-height="100px" valign="top" align="right" >
<cell>
<text font-size="16" >
Wide column
</text>
</cell>
<cell>
<label font-size="16" >
2
</label>
</cell>
<cell>
<text font-size="16" >
3
</text>
</cell>
<cell table-width="100px" >
<text font-size="16" >
Wide column
</text>
</cell>
</row>
<row>
<cell align="right" cellpadding="0" valign="top" >
<text font-size="16" >
Wide column
</text>
</cell>
<cell>
<label font-size="16" >
Test
</label>
</cell>
<cell>
<text font-size="16" >
Test Test Test Test Test
</text>
</cell>
<cell align="center" table-width="100px" valign="center" >
<label font-size="16" >
Test
</label>
</cell>
</row>
</table>
</field>
</image>
</xsl:template>
</xsl:stylesheet>

## Generated Image