[xsl] transform to 2-row table

Subject: [xsl] transform to 2-row table
From: Robert Sösemann <robert.soesemann@xxxxxx>
Date: Thu, 7 Nov 2002 19:33:30 +0100
Who can help?

How can I easily transform this xml structure of <GROUP>s of articles into a
2-row HTML Table?

<?xml version="1.0" encoding="ISO-8859-1"?>
<PAGE>
    <GROUP NAME="Articles from this month" PRIORITY="1">
        <ABSTRACT ID="2">
        ...
        </ABSTRACT>
        <ABSTRACT ID="1" >
        ...
        </ABSTRACT>
    </GROUP>

    <GROUP NAME="Articles from this October" PRIORITY="2">
    ...
    </GROUP>

    <GROUP NAME="Articles from this September" PRIORITY="3">
    ...
    </GROUP>

    <GROUP NAME="Articles from this September" PRIORITY="4">
    ...
    </GROUP>
    ...more groups
 </PAGE>

The xsl should arrange the <GROUP>s due to their priority attribute value.
E.g. 1 2
        4 5
        6 an so on

 <TABLE>
    <TR>
        <TD>Articles from this month</TD>
        <TD>Articles from this October</TD>
     </TR>
     <TR>
        <TD>Articles from this September</TD>
        <TD>Articles from this September</TD>
     </TR>
 </TABLE>


Greetings Robert



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


Current Thread