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]
Other format: [Raw text]

even and odds


hey all,
    I have a quick problem.

    I have n number of nodes, I want to put those nodes as html.
    I need to take a pair at a time, and display them in a table, something like:

    <tr><td>node1</td><td>node2</td></tr>

    the problem is, when I put <tr> tag in there, I can only
    put tr in front of the odd ones, and </tr> to the end of the even ones.

    Now, I can check even/odd using postion() mode etc, but now it complains

    <td> has no end tag, must be due to the conditional statement, how do I fix

    this?

    thanks

yan


 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]