2,7" nested field example
A 2,7" template showing the usage of nested fields.
- Template: templates/example15.xsl
- Record: records/empty.xml
2,7" nested field example (Template)
<xsl:stylesheet version="1.0"
>
<xsl:template match="Record"
>
<image height="176"
width="264"
colors="true"
>
<field x="0"
y="0"
width="200"
height="150"
align="left"
border="1"
background-color="green"
>
<text>
field1
</text>
<text>
field1
</text>
<field x="0"
y="40"
width="180"
height="110"
border="2"
align="center"
background-color="red"
>
<text>
field2
</text>
<field x="50"
y="20"
width="120"
height="90"
border="1"
align="center"
valign="bottom"
background-color="blue"
>
<text>
field3
</text>
<field x="0"
width="100"
max-height="30"
border="2"
align="center"
background-color="yellow"
>
<text>
field4
</text>
</field>
</field>
</field>
</field>
</image>
</xsl:template>
</xsl:stylesheet>