[xsl] grouping and ordering. SOS, one week and i don't know how to solve this problem

Subject: [xsl] grouping and ordering. SOS, one week and i don't know how to solve this problem
From: Dionisio Ruiz de Zárate <dionisio@xxxxxxxxxxxxx>
Date: Fri, 20 Aug 2004 02:09:08 +0200
hello i have one xml file (bellow one stract) and i want to group noder and
order using xslt.
i have into one xml a lot of nodes like this:

<registro>
<producto_id>1</producto_id>
<top_orden>1</top_orden>
<categoria_id>1</categoria_id>
<categoriadetalle_nombre>uno</categoriadetalle_nombre>
</registro>
<registro>
<producto_id>3</producto_id>
<top_orden>2</top_orden>
<categoria_id>4</categoria_id>
<categoriadetalle_nombre>uno</categoriadetalle_nombre>
</registro>
<registro>
<producto_id>21</producto_id>
<top_orden>2</top_orden>
<categoria_id>2</categoria_id>
<categoriadetalle_nombre>dos</categoriadetalle_nombre>
</registro>
..................

i want  to group using categoriadetalle_nombre and order by top_orden

can you help me for making this?
thanks

Current Thread