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

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


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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