Re: [xsl] key() and ordering of resulting node-set

Subject: Re: [xsl] key() and ordering of resulting node-set
From: "James A. Robinson" <jim.robinson@xxxxxxxxxxxx>
Date: Wed, 15 Nov 2006 10:21:07 -0800
> Is it possible to guarantee the ordering of the node-set returned by key()?
> If not, is it possible to force the order to document order?
> I have looked to the spec, but to no avail...

According to the 2.0 CR it is document order:

  The result of the function is a sequence of nodes, 
  in document order and with duplicates removed

from http://www.w3.org/TR/xslt20/#keys

Jim

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson                       jim.robinson@xxxxxxxxxxxx
Stanford University HighWire Press      http://highwire.stanford.edu/
+1 650 7237294 (Work)                   +1 650 7259335 (Fax)

Current Thread