Re: [xsl] creating html tables from cells

Subject: Re: [xsl] creating html tables from cells
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 15 Oct 2003 12:35:33 -0400
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



Current Thread