ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
[xsl] even and odds
by Yan Zhu other posts by this author
Dec 21 2001 5:47PM messages near this date
[xsl] Re: The Solution -- Re: how to rearrange nodes based on a dependency graph? | [xsl] MSXML4, key() across node-set
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
Thread:
Dimitre Novatchev
Yan Zhu
Michael Kay
Yan Zhu
Oleg Tkachenko
Yan Zhu
Michael Kay
Yan Zhu
=?iso-8859-1?Q?J=F6rg_Heinicke?=
Yan Zhu
Gunther Schadow
Dimitre Novatchev
Gunther Schadow
Dimitre Novatchev
Dimitre Novatchev
Gunther Schadow
Yan Zhu

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved