This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Use 'count' or xsl:variable?
- From: ssd xcxc <marina777uk at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sun, 23 Dec 2001 00:30:52 -0800 (PST)
- Subject: [xsl] Use 'count' or xsl:variable?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello,
I have an xml document of books like this...
<library>
<book>
<first_name>....</first_name>
<last_name>.....</last_name>
<title>.....</title>
<ibn>.....</ibn>
<cost>....</cost>
</book>
etc etc
</library>
and need to count how many titles there are for every
instance of last_names. Is it better to initialize a
variable and increment it every time or just use the
'count' part of select?
Thank you
Marina
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list