You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Yann Verlynde <yv...@oxade.com> on 2002/11/14 15:20:20 UTC

Problem with sort

Sort list doesn't work:
<xsl:for-each select="agent/sexe[ text() = 'M' ]">

<!--order the result by codenet-->

<xsl:sort select="codenet" data-type="number"/>

...



My xml file: 

<agent id="001">

<datenaissance>27/02/1977</datenaissance>

<sexe>M</sexe>

<cadreemploi>emploi10</cadreemploi>

<codenet>10</codenet>

<specialite>specialite1</specialite>

<discipline>discipline1</discipline>

<datedebut>1/01/1977</datedebut>

</agent>


Re: Problem with sort

Posted by Oleg Tkachenko <ol...@multiconn.com>.
Yann Verlynde wrote:

> Sort list doesn't work:

I'm sorry, but pure xslt questions like this one have nothing to do with FOP 
and even with xsl-fo, so should be asked on xsl-list, see 
http://www.mulberrytech.com/xsl/xsl-list.

-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel