This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Building an HTML Table
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Building an HTML Table
- From: peyton Paul <peyton2k1 at yahoo dot com>
- Date: Wed, 23 May 2001 12:00:11 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
I have an XML file which I need to build an HTML table
based on the nodes returned.
Here is an example XML file:
Any number of auto elements will come back after a
search I need to insert each <make> inside a TD with a
max of 8 colums. So after the 8th auto/make element
how do you start a new row without knowing the fixed
number of auto/make elements. I need to repeat this
process until all TD have been filled.
<news>
<auto>
<make>Ford</make>
</auto>
<auto>
<make>Jeep</make>
</auto>
<auto>
<make>automaker3</make>
</auto>
<auto>
<make>Mazda</make>
</auto>
<auto>
<make>Saturn</make>
</auto>
<auto>
<make>GM</make>
</auto>
<auto>
<make>automaker7</make>
</auto>
<auto>
<make>BMW</make>
</auto>
<auto>
<make>Lexus</make>
</auto>
</news>
thx for your help in advance
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list