RE: [xsl] creating html tables from cells

Subject: RE: [xsl] creating html tables from cells
From: "Whitney, Dan (CanWest Interactive)" <DWhitney@xxxxxxxxxxx>
Date: Wed, 15 Oct 2003 14:35:48 -0400
Yeah, I was going to ask another on an unrelated topic but I thought I'd
look a little further before coming here. Thanks for the link. I'll have a
look

Dan

-----Original Message-----
From: Wendell Piez [mailto:wapiez@xxxxxxxxxxxxxxxx]
Sent: October 15, 2003 12:36 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] creating html tables from cells


Dan,

This is a classic beginner's question about grouping.

It's not actually on the RS element where you'll create your <tr> -- it's 
on every RI[@col='1'] (which may be every fourth RI, depending on your
data).

See http://www.jenitennison.com/xslt/index.html for all kinds of help.

(But you said you have two questions.)

Cheers,
Wendell

At 11:06 AM 10/15/2003, you wrote:
>2 questions.
>
>I have the following xml structure:
>
><RS>
><RI col="1">Row 1 - Column 1</RI>
><RI col="2">Row 1 - Column 2</RI>
><RI col="3">Row 1 - Column 3</RI>
><RI col="4">Row 1 - Column 4</RI>
><RI col="1">Row 2 - Column 1</RI>
><RI col="2">Row 2 - Column 2</RI>
><RI col="3">Row 2 - Column 3</RI>
><RI col="4">Row 2 - Column 4</RI>
></RS>


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


 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