[xsl] comparing values

Subject: [xsl] comparing values
From: Dionisio Ruiz de Zárate <dionisio@xxxxxxxxxxxxx>
Date: Sun, 20 Feb 2005 17:26:49 +0100
hello i have into one xml this:
- <eleccion>
 <eleccionusuario_id>219</eleccionusuario_id>
 <eleccion_id>2</eleccion_id>
 <usuario_id>55</usuario_id>
 <eleccionusuario_valor>false,true,false,false,true,false,true,false,false</eleccionusuario_valor>
</eleccion>

into the <eleccionusuario_valor> node there is this:
false,true,false,false,true,false,true,false,false
how can i change this values with number using xsl?
it the node value is:
false,true,false,false,true,false,true,false,false
the result must be 2,5,7
the tru values are numbres.

thanks

Current Thread