Schuetz, David writes:
 > 
 > [re: generating "1, 2, and 3"]
 > I've been able to do this with the last() function -- like "if last() then
 > ", and" else ", ", if you can forgive the non-xsl pseudocode.

sure. but the axis solution should also work

 > just not doing it right.  One thing I've been palying with is trying to do
 > two-column output, and it took me forever to figure out a kludge that would
 > let me split a stream of nodes into two different table cells.  When I tried
 > to extend it to three columns (to solve the general case), I simply couldn't
 > write the tests.  I *suspect* that some axis function is the right way to do
 > this, but got bogged down in problems late last night...
probably some solution using modulo 3 is what you need

Sebastian


Reply via email to