[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: dynamic sorting
OOPS, I [expletive deleted] up a little :) I was a little but too quick on the send button. I meant the following code: <xsl:template match="/"> <xsl:apply-templates select="person"> <xsl:sort select="fname"/> </xsl:apply-templates> </xsl:template> and <xsl:template match="/"> <xsl:param name="sort">fname</xsl:param> <xsl:apply-templates select="person"> <xsl:sort select="$sort"/> </xsl:apply-templates> </xsl:template> Sorry, -- Peter XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|