tags:

views:

29

answers:

0

Possible Duplicates:
XSL: List divided into columns.
[XSLT]: Rendering a node sequence as M x N table

Hi All,

I need to print my XML in such a way that, in HTML, each row contains 2 columns. In first column my first value gets printed and in second the second one, then the row gets change and it move on. it will be more clear with the example below-

XML-

<root>
<value>
abc
</value>
<value>
def
</value>
<value>
ghi
</value>
<value>
jkl
</value>
<value>
mno
</value>
<root>

i need result as-

abc          def
ghi          jkl
mno

I need a simple logic to achieve this as the code where i've to implement it is not this much simple. Please assist.