I have the following line in my xslt file:
<xsl:sort select="MIB[@name="{$sortby}"]" order="{$sortorder}" />
The syntax { ...} is _never_ valid in an XPath expression (the only
time { or } can appear in an expression is as part of a string, where
they are just normal characters with no special meaning.
You are testing if the name attribute is equal to the literal string
"{$sortby}".
You want
select="MIB[@name=$sortby]"
to test if the name attribute has value equal to the param sortby.
David
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list