[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Sort column in table


Subject: RE: [xsl] Sort column in table
From: "Norma Yeazell" <Nyeazell@xxxxxxxxx>
Date: Thu, 15 Jan 2004 14:29:11 -0500

That works great Thanks! 

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
J.Pietschmann
Sent: Thursday, January 15, 2004 1:42 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Sort column in table

Norma Yeazell wrote:
> Can anybody give me a clue how to sort the rows by the nomen column 
> number 1?

It would have been a bit easier if you'd given a short sample of the XML
source, but I'll try anyway:

>     <fo:table-body>
>         <xsl:apply-templates/>
>      </fo:table-body>

You probably want
      <fo:table-body>
         <xsl:apply-templates select="supply">
           <xsl:sort select="nomen"/>
         </xsl:apply-templates>
      </fo:table-body>

J.Pietschmann


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Confidentiality Notice
The information contained in this e-mail is confidential and intended for use only by the person(s) or organization listed in the address. If you have received this communication in error, please contact the sender at O'Neil & Associates, Inc., immediately. Any copying, dissemination, or distribution of this communication, other than by the intended recipient, is strictly prohibited.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml