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

Re: Carlos Problem (II) how to show some results y som

Subject: Re: Carlos Problem (II) how to show some results y some places:
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Fri, 10 May 2002 01:01:00 +0200
Re:  Carlos Problem (II) how to show some results y som
Have a look at http://sources.redhat.com/ml/xsl-list/2002-04/msg00221.html. The stylesheet can sort your data in columns or rows (selected with parameter $by). If you need a simplified stylesheet, you must select the first 3 <NUMBER> elements, create a <tr> for them and add for these and all following-siblings <NUMBER>s, with a position()=3 a new <td>.

Regards,

Joerg

Carlos wrote:
I have one xml file (bellow), and i don't know how to nake a xslt template
for showing the numbers in this form:
<table><tr>
<td>
1 4 7 10
</td>
<td>
2 5 8
</td>
<td>
3 6 9
</td>
</tr></table>

can anybody help me?
THANKS

############
XML FILE
############
<?xml version="1.0" encoding="UTF-8"?>
<NUMBERS>
<NUMBER>
<VALUE>1
</VALUE>
</NUMBER>
<NUMBER>
<VALUE>2
</VALUE>
<NUMBER>
<VALUE>3
</VALUE>
</NUMBER>
<NUMBER>
<VALUE>4
</VALUE>
</NUMBER>
<NUMBER>
<VALUE>5
</VALUE>
</NUMBER>
<NUMBER>
<VALUE>6
</VALUE>
</NUMBER>
<NUMBER>
<VALUE>7
</VALUE>
</NUMBER>
<NUMBER>
<VALUE>8
</VALUE>
</NUMBER>
<NUMBER>
<VALUE>9
</VALUE>
</NUMBER>
<NUMBER>
<VALUE>10
</VALUE>
</NUMBER>
</NUMBER>
</NUMBERS>



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





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.