Re: [xslt] xsl:sort limitation



On Mon, Dec 16, 2002 at 02:10:52PM -0500, J. Clifford Dyer wrote:
> LibXSLT's xsl:sort implementation only seems able to handle 4 sorting criteria.
[...]
> it doesn't sort at all.  Is this a known limitation?  Also might it be better to sort by the first four criteria, and just ignore the extras if there's no other way around it? 

  Hum, there is an XSLT_MAX_SORT macro in libxslt/xsltInternals.h
currently defined to be 5, can you increase it to say 10 and see if 
this fixes the problem after recompiling ? It's likely to be the case

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]