total column

P

Piripiccio

hello , i have a little question.

In my xml i have a node called os . the possible values of this node
are "Windows 9x" or "Linux" or something .

I don't know how calculate how many Linux or Windows there are ....

Thank's a lot.

Alex
 
M

Martin Honnen

Piripiccio said:
In my xml i have a node called os . the possible values of this node
are "Windows 9x" or "Linux" or something .

I don't know how calculate how many Linux or Windows there are ....

count(//os[. = 'Linux'])
counts the elements <os>Linux</os>.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,008
Messages
2,570,268
Members
46,867
Latest member
Lonny Petersen

Latest Threads

Top