Subject: Using xsl:sort select attribute From: "Nuri Besen" <nb_news@xxxxxxxxxxx> Date: Fri, 25 Aug 2000 06:16:00 EDT |
<!-- template : Sorts msg elm using selected order and key element --> <xsl:template name="SortTemp"> <xsl:param name="sortColm"/> <xsl:param name="sortOrder"/> <xsl:apply-templates select="MSGLIST/MSG"> <xsl:sort order="{$sortOrder}" select="$sortColm"/> </xsl:apply-templates> </xsl:template>
and I do not get any sorting to be done, have tried <xsl:sort order="{$sortOrder}" select="string($sortColm)"/> but no good either.
If I do the following: <xsl:sort order="{$sortOrder}" select="MSGID"/> it works fine and sorts it accoring to the MSGID element.
Thanks, Nuri ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Output HTML as Content of XML E, Pawson, David | Thread | Re: Using xsl:sort select attribute, G. Ken Holman |
Output HTML as Content of XML Eleme, "Sellmer-Brüls, Barb | Date | Re: WYSIWYG XSL Editors, Wendell Piez |
Month |