xsl-list
[Top] [All Lists]

Re: xsl:sort not working within xsl:choose

2004-12-10 07:35:39
"Hardy" == Hardy Merrill 
<HMerrill(_at_)dhcr(_dot_)state(_dot_)ny(_dot_)us> writes:


    Hardy> but that's not working - I keep getting this error:

    Hardy> msxml4.dll error '80004005'

    Hardy> Keyword xsl:sort may not be used here.

    Hardy> ------------------------------------

    Hardy> What am I doing wrong?  The thing is, if I take out the
    Hardy> entire choose, and just use

    Hardy>    <xsl:sort select="code" />

    Hardy> it seems to work.

Well, you seem to have all but worked it out - you can't have xsl:sort
anywhere except as an immediate child of xsl:for-each or xsl:apply-templates
in XSLT 1.0.
-- 
Colin Paul Adams
Preston Lancashire

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>