[xsl] Complex HTML Table

Subject: [xsl] Complex HTML Table
From: "B. Tommie Usdin" <btusdin@xxxxxxxxxxxxxxxx>
Date: Mon, 29 Jan 2001 11:18:07 -0500

From: "Conawapa Kukura" <conawapa@xxxxxxxxxxx>
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: Complex HTML Table
Date: Mon, 29 Jan 2001 08:45:37 -0600
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F47u5tAig3A6EMRPj0r00006a5a@xxxxxxxxxxx>
X-OriginalArrivalTime: 29 Jan 2001 14:45:38.0107 (UTC) FILETIME=[24F668B0:01C08A02]


I'm trying to implement a solution to format the below XML into the below
HTML.  Any suggestions on how I'd go about doing so would be greatly
appreciated.

XML (note: this cannot change):
<SKUCOLLECTION>
<SKU>
<ROW1>1.1</ROW1>
<ROW2>1.2</ROW2>
</SKU>
<SKU>
<ROW1>2.1</ROW1>
<ROW2>2.2</ROW2>
</SKU>
<SKU>
<ROW1>3.1</ROW1>
<ROW2>3.2</ROW2>
</SKU>
<SKU>
<ROW1>4.1</ROW1>
<ROW2>4.2</ROW2>
</SKU>
</SKUCOLLECTION>

Result HTML:
<table>
<tr>
<td>1.1</td>
<td>1.2</td>
</tr>
<tr>
<td>1.1</td>
<td>1.2</td>
</tr>
<tr>
<td>1.1</td>
<td>1.2</td>
</tr>
<tr>
<td>1.1</td>
<td>1.2</td>
</tr>
</table>

---------------------
| ----------------- |
| |  1.1  |  2.1  | |
| ----------------- |
| ----------------- |
| |  1.2  |  2.2  | |
| ----------------- |
| ----------------- |
| |  3.1  |  4.1  | |
| ----------------- |
| ----------------- |
| |  3.2  |  4.2  | |
| ----------------- |
---------------------

Does XSL give you the ability to store HTML content within variables?  This
may be one way of approaching this problem.

Thanks...

-MK

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

-- ====================================================================== B. Tommie Usdin mailto:btusdin@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Phone: 301/315-9631 Suite 207 Direct Line: 301/315-9634 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