[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Building an HTML Table

Subject: Building an HTML Table
From: peyton Paul <peyton2k1@xxxxxxxxx>
Date: Wed, 23 May 2001 12:00:11 -0700 (PDT)
building an html table
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.