[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

transform to 2-row table

Subject: transform to 2-row table
From: Robert Sösemann <robert.soesemann@xxxxxx>
Date: Thu, 7 Nov 2002 19:33:30 +0100
 transform to 2-row table
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.