<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="Record">

        <!-- This example shows the usage of rectangles and fields with rounded corners -->
        <image height="800" width="480">
            <field border="8" corner-radius="25" height="200" rounded-corners="TOP_LEFT,BOTTOM_RIGHT" valign="center"
                   width="300" x="50" y="50">
                <label align="center" font-size="40">Test Label</label>
            </field>
            <field border="2" corner-radius="10" height="80" rounded-corners="TOP_RIGHT,TOP_LEFT,BOTTOM_RIGHT"
                   width="200" x="10" y="300">
                <text align="center" font-size="20">Multiple lines inside a rounded field</text>
            </field>
            <rect corner-radius="50" height="100" rounded-corners="TOP_RIGHT,TOP_LEFT,BOTTOM_RIGHT,BOTTOM_LEFT"
                  width="250" x="20" y="400"/>
            <rect border="5" corner-radius="70" fill="false" height="150" rounded-corners="TOP_RIGHT" width="300"
                  x="100" y="600"/>
        </image>
    </xsl:template>
</xsl:stylesheet>
