The XSL below illustrates how to alternate color using the mod operator and setting the style class. This allows to to create a general ledger look.
"log/entry">