Re: [xslt] possible bug in xsltproc/libxslt



On Mon, Oct 31, 2005 at 09:23:02PM +0200, Iosif Fettich wrote:
> <xsl:sort select="/root/items/item[ item_id = @it_id]/@weight"
                                     ^^^^^^^^^^^^^^^^^

   1/ check with the latest version
   2/ use xsltproc -v to see what is happening
   3/ there is no element with both attribute item_id and attribute
      it_id in your input data. You're trying to sort on non-existent
      data

3/ seems to indicate your XSLT code is bugged your select sort criteria is just
wrong apparently.

Daniel

-- 
Daniel Veillard      | Red Hat http://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]