Sample Code:
<?if@row: position() mod 2=0?> <xsl:attribute name="background-color" xdofo:ctx="incontext">blue</xsl:attribute><?end if?>
<?if@row: position() mod 2=1?> <xsl:attribute name="background-color" xdofo:ctx="incontext">red</xsl:attribute><?end if?>
RTF Template:
PDF Output:
Sample Files:
RTF :FormatRows
XML: EmployeeListing.xml
<?if@row: position() mod 2=0?> <xsl:attribute name="background-color" xdofo:ctx="incontext">blue</xsl:attribute><?end if?>
<?if@row: position() mod 2=1?> <xsl:attribute name="background-color" xdofo:ctx="incontext">red</xsl:attribute><?end if?>
RTF Template:
PDF Output:
Sample Files:
RTF :FormatRows
XML: EmployeeListing.xml