I'm sorry I was vague with the XML/XSL. I wanted to simplify the XML/XSL just to show specifically what was going on, but I got lazy.
Basically, here's the layout of my xml:
<document>
<header>
<title> ... title ... </title>
<columns>
<column> ... heading 1 ... </column>
<column>...