[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Need Help with XSL Multicolumn Table
Hi Alex, You forgot to post your XSL? Cheers, <prs/> -----Original Message----- From: soporte@xxxxxxxxxxxx [mailto:soporte@xxxxxxxxxxxx] Sent: Wednesday, October 13, 2004 5:39 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Need Help with XSL Multicolumn Table Hello, I have an XML with data like the following and I need to display this info in a multicolumn table. Suppose I have 20 items, I want to display in each row 4 items with the respective title, price, currency, etc. Hope anyone can help me with this.. I will appreciate so much the help. <items> <item id="2545"> <title>Something a</title> <price>1,500</price> <image>pic1.jpg</image> <currency>$</currency> <mpago>N</mpago> </item> <item id="2546"> <title>Something b</title> <price>1,583</price> <image>pic2.jpg</image> <currency>US$</currency> <mpago>Y</mpago> </item> <item id="2580"> <title>Something c</title> <price>700</price> <image>pic3.jpg</image> <currency>$</currency> <mpago>N</mpago> </item> ...... </items> I want to show 4 tables like this one in each row. Im also pasting here the code of the table in html: Here is the html code of the table I would like each item to have. *************************** <table width="115" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="115" height="99" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="12" height="90"></td> <td width="90" valign="top">** Here the image **</td> <td width="13"></td> </tr> <tr> <td height="9"></td> <td></td> <td></td> </tr> </table> </td> </tr> <tr> <td height="82" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="115" height="63" valign="top"> ** here the title ** </td> </tr> <tr> <td height="13" valign="top">** here mpago **</td> </tr> </table></td> </tr> <tr> <td height="19" valign="bottom" bgcolor="#FFFF00" class="precio"> ** here price ** <font style="color:#FF0000; font-weight:100"><b></b></font></td> </tr> </table> David I appreciate so much your help and hope you can help me, this is going to be my final test. Best Regards and thanks a lot, Alex. V.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|