How to code XSL to display two XML elements side by side?

Subject: How to code XSL to display two XML elements side by side?
From: "Xu, Xiaocun" <XXu@xxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Jun 2000 17:12:24 -0400
Hi,

	I have SoldTo and ShipTo info in XML that I need to display
side-by-side in HTML.  I was using <table> HTML element to do side-by-side
displaying.  How can I code XSL to combine the two XML elements, display one
in the left and one in the right columns in the <table> element?  Example
attached.
	Another question, I need to reuse the ShipTo info to reprint it at
bottom of the HTML.  How can I code XSL so that I can reprint ShipTo info at
bottom of the HTML page?

Much thanks,
Xiaocun

Starting XML:
	<soldto>
		<lastname>Carvalho</lastname>
		<firstname>Cheryl</firstname>
		<address1>98-1230 Lauhulu St.</address1>
		<city>Aiea</city>
		<state>HI</state>
		<postalcode>96701</postalcode>
	</soldto>
	<shipto>
		<lastname>Carvalho</lastname>
		<firstname>Cheryl</firstname>
		<address1>98-1230 Lauhulu St.</address1>
		<city>Aiea</city>
		<state>HI</state>
		<postalcode>96701</postalcode>
	</shipto>

Desired Resultant HTML:
<!-- Address information -->
<table width="100%" border="0"><thead>
<th align="left"><font size="2">Sold To:</font></th>
<th align="left"><font size="2">Ship To:</font></th>
</thead>
<tbody>
<tr>
<td><font size="2">Cheryl Carvalho</font></td>
<td><font size="2">Cheryl Carvalho</font></td>
</tr>
<tr>
<td><font size="2">98-1230 Lauhulu St.</font></td>
<td><font size="2">98-1230 Lauhulu St.</font></td>
</tr>
<tr>
<td><font size="2">Aiea, HI 96701</font></td>
<td><font size="2">Aiea, HI 96701</font></td>
</tr>
</tbody>
</table>


Xiaocun Xu
CommercialWare, Inc.
24 Prime Park Way
Natick, MA 01760
mailto:xxu@xxxxxxxxxxxxxxxxxx
508.652.9341
> Win One Million Dollars!!  
> www.commercialware.com
> 
> 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

WIN $1,000,000 !
WWW.COMMERCIALWARE.COM

**********************************************************************


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread