This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
count the number of occurrences of an element which satisfy some condition
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] count the number of occurrences of an element which satisfy some condition
- From: Jayaranga Subasinghe <jayarangas at eurocenter dot lk>
- Date: Thu, 21 Jun 2001 15:59:10 +0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
hello,
can any body give me a solution for the following problem?
I want to count the number of occurrences of an element<keyword>,
which 'xml:lang' attribute is 'en'.
the xml file is as follows:
<KEYWORD xml:lang="en">Keyword 1</KEYWORD>
<KEYWORD xml:lang="en">Keyword 2</KEYWORD>
<KEYWORD xml:lang="no">Sokeord 1</KEYWORD>
<KEYWORD xml:lang="no">Sokeord 2</KEYWORD>
<KEYWORD xml:lang="no">Sokeord 3</KEYWORD>
thank you.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list