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

RE: Displaying entries in a table vertically

Subject: RE: Displaying entries in a table vertically
From: "Tim Watts" <timw@xxxxxxx>
Date: Wed, 18 Jul 2001 10:28:11 +1000
table examle html
Hi Alan,

Yes, I think there is...

If you want to figure it out, it is through use of the position() function.

I'm sure I've has to do something like this before, but I'll have to look
around my stylesheets to find an examle

I think it was a matter of selecting the elements into nodes in a variable
by testing if the postion was 1, 2 or 3, then outputting $variable1,
$variable2 and $variable3

If I find an examle I'll pass it on.

Regards,
Tim :)

-----Original Message-----
From: Alan Alda

I am writing an XSL sheet which produces an HTML table
using some entries (which are sorted by my XSL before
displaying) of an XML file. Pretty straightforward...

The problem is that the specifications doc. that I
have, requires me to display the entries in the table
sorted in a vertical fashion.

This means that the spec. requires the entries to be
like:
A P U
B Q V
C R

whereas, since I am outputting the entries row-wise, I
am getting the output:
A B C
P Q R
U V

Is there any way I can display the entries sorted in a
vertical fashion in the table using my XSL sheet?

Thanks,
Cheers,
Alan.


 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.