This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Use 'count' or xsl:variable?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]