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

RE: row counting for html table creation

Subject: RE: row counting for html table creation
From: "Terje Kristensen" <terje.kristensen@xxxxxxxxx>
Date: Thu, 20 Dec 2001 14:58:24 +0100
table creation in html
Hello to you to, 

Is there any reason to why do you have to count it?
Do you want something else beside:

<table>
	<xsl:for-each select="account">
		<tr>
			<td><xsl:value-of select="first_name"/></td>
			...
		</tr>
	</xsl:for-each>
</table>

If so, tell us a bit more, and these other gurus will probably be able
to help you.. :-)

-----Original Message-----
From: ssd xcxc [mailto:marina777uk@xxxxxxxxx]
Sent: 20. desember 2001 14:48
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  row counting for html table creation


Hello,

I have an xml document of accounts like this...

<bank>
   <account>
     <first_name>....</first_name>
     <last_name>.....</last_name>
     <address>.....</address>
     <zip>.....</zip>
     <balance>....</balance>
   </account>

etc etc
</bank>

and need to view them in an html table. The question
is
how can I generate the correct number of rows of my
table
based on the <account> element as it is changing
depending
on when I take a view of it, and secondly how can I
insert
the values of name, address etc into the columns?

Regards

Marina

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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


 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.