I want to count the journals that classification is computing and published after 2000
this is my xml structure
<journal> <title classification= "computing">Approaching digital equity: is wifi the new leveler &</title> <authors> <author> <surname>Middleton</surname> <firstname>Karen L.</firstname> </author> <author> <surname>Chambers</surname> <firstname>Valrie</firstname> </author> </authors> <journalName>Information Technology & People</journalName> <volume>Vol. 23</volume> <issue>No. 1</issue> <year>2010</year> <page>4-22</page> </journal>
and what i did in xsl is
<xsl:value-of select = "count(journals/journal/title[@classification='computing' and year > 2000])" />
There is no error but the output is zero instead of 5.
Can someone point out what's wrong with my code?
Thanks in advanced.