[xsl] Accessing Variables while sorting

Subject: [xsl] Accessing Variables while sorting
From: "Seema R" <seema.r@xxxxxxxxxxxxx>
Date: Tue, 8 Jan 2002 17:48:27 +0530

I have an XML that reads as 
		<DOB>04-20-1945 </DOB>

In the code below, how do i assign the value of SortField to $Variable ?
<xsl:for-each select="PatientList/Patient">
	<xsl:sort select="$Variable" order="ascending"></xsl:sort>
	       <td width="17%" height="30"><xsl:value-of select="LastName"/></td>

Thanks in advance,

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

Current Thread