[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL Sort and Xalan
Actually, it looks like an attribute value template cannot be used with the select attribute for <xsl:sort>. Attributes lang, data-type, order, and case-order can. MK's book pg 119. My bad. Don -----Original Message----- From: Don Bruey Sent: Thursday, August 03, 2000 1:36 PM To: 'xsl-list@xxxxxxxxxxxxxxxx' Subject: RE: XSL Sort and Xalan Try <xsl:sort order="ascending" select="{$item}"/> (note curly brackets.) Don -----Original Message----- From: Bryce Wells [mailto:bryce@xxxxxxxxxxxxxxxx] Sent: Thursday, August 03, 2000 1:13 PM To: xsl-list@xxxxxxxxxxxxxxxx Subject: XSL Sort and Xalan >From a previous post (not sure when), I thought I read that this was a bug, but can't verify and the Xalan bug database is down. I am generating a table in HTML from dynamic XML with 4 columns, any of which I'd like the end-user to be able to sort. I have a parameter set in my stylesheet <xsl:param name="item"/> that I'm trying to use to set the column that should be sorted, but it is not working. No errors, just not working. This is how I am passing to the sort function: <xsl:sort order="ascending" select="$item"/> My question is - am I doing this incorrectly? or, can you not pass parameters to the xsl:sort element in Xalan? Any help would be greatly appreciated. Thanks, Bryce XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|