[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to define a xsl:sort's order attribute using
> I want to sort a list of <person> elements, and define the > "select" and > "order" attributes of the xsl:sort element using variables, > rather than > hardcoded values. Take a look in the FAQ. order is an attribute value template. select is an expression that gives the sort key, not an expression that gives an expression that gives the sort key. For simple cases use select="*[name()=$var]", in more complex cases use saxon:evaluate() or xalan:evaluate(). Mike Kay Software AG 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
|