xsl-list
[Top] [All Lists]

RE: creating html tables from cells

2003-10-15 11:35:48
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(_at_)mulberrytech(_dot_)com]
Sent: October 15, 2003 12:36 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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[(_at_)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(_at_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>