Subject: [xsl] Count books in all book categories From: "Karl Koch" <TheRanger@xxxxxxx> Date: Fri, 22 Jul 2005 17:37:42 +0200 (MEST) |
Hello experts, I would like to count the number of books in each book category. I have an data example here: <bookshelf> <book><cat>A</cat></book> <book><cat>B</cat></book> <book><cat>A</cat></book> <book><cat>B</cat></book> <book><cat>B</cat></book> </bookself> The result should be: A 2 B 3 It would be nice if the script would recognise the different categories by itself (e.g. starting a new one if it has not be seen before). But to make things simple it would also be ok to have one line for each category (since I know them and there are fix). Can somebody help me? Kind Regards, Karl -- 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse fo?=r Mail, Message, More +++
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: RE: [xsl] how to differentiate , Ana Yndurain | Thread | Re: [xsl] Count books in all book c, David Carlisle |
RE: RE: [xsl] how to differentiate , Ana Yndurain | Date | Re: [xsl] Count books in all book c, David Carlisle |
Month |