|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] how to seperate sequence?
hi all,
Does anybody have and idea how to seperate a <para/> list so that every
second (or third) <para> will go to another column (<td/>) in a table?
e.g.: XML look like:
<content>
<para>some text 1</para>
<para>some text 2</para>
<para>some text 3</para>
<para>some text 4</para>
<para>some text 5</para>
</content>
and the output should look like:
some text 1 some text 2
some text 3 some text 4
some text 5
How can I use e.g. a 'xsl:if test = "position() mod 2 == 0"' expression, or
does anyone have a better way to do it?
Thanks in advance.
Regards,
Thomas
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








