This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Problems with sorting in XSL
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Problems with sorting in XSL
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 17 Feb 2000 09:56:22 -0000
- Reply-To: xsl-list at mulberrytech dot com
> > <xsl:param name="sort-field" select="'surname'">
> > <xsl:variable name="by-surname" select="sort-field='surname'"/>
>
> What? Can you explain this variable assignment?
I meant to write
<xsl:variable name="by-surname" select="$sort-field='surname'"/>
The variable "by-surname" will have the value true if the parameter
$sort-field has its default value of "surname", and false if it has been set
to some other value.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list