|
Subject: [xsl] Use 'count' or xsl:variable? From: ssd xcxc <marina777uk@xxxxxxxxx> Date: Sun, 23 Dec 2001 00:30:52 -0800 (PST) |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] how to access the main do, Gunther Schadow | Thread | Re: [xsl] Use 'count' or xsl:variab, Jeni Tennison |
| [xsl] Re: XPath incompatibilities, Jeni Tennison | Date | Re: [xsl] Use 'count' or xsl:variab, Jeni Tennison |
| Month |