This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Counting or Modulus calculations in XSL


Hi,

My problem is with parsing a xml document into a two column table with xsl.
The xml document looks something like:
<root>
	<content>
		<info>
			<detail>Text</detail>
		</info>
		<info>
			<detail>Text</detail>
		</info>
		.
		.
		.

With various number of <info> tags.
Then I have to parse it with XSL into a two column table so that <info> with
odd-number position goes into the left column and the even number <info>
into the right column, two <info>'s in each row.
All suggestions welcome. I can only make it appear in one column, one <info>
in each row.  Wouldn't be so tricky if the number of <info> didn't change.

Thanks,
Arnar, ath@ejs.is


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]