I want to make a table that has 3 columns of names. The first column has the first person's name, the second column has the second person's name, the third the third person's name. The fourth person would start a new row. The above XML example should have generate a two table row like this
Joe Jason Jimmy
I am having trouble with this. I tried doing something with a for-each as shown below. My syntax here might be a little off, but I think you can get the picture. I didn't include fo:table but assume the parent table elements are present. My attempt below doesn't work at all because I get "unexpected characters in element end tag (expected "fo:table-row"). I don't really understand why? There is probably a much simpler way to do this. Your help will be appreciated.
<xsl:if test="(position() mod 3) = 0">