That worked.
Thank you very much.

Ted


2006/12/6, Marcel Reutegger <[EMAIL PROTECTED]>:

Ted Roeloffzen wrote:
> Is there a standard way to order the results of an XPath query.
> In SQL you would use order by, but does XPath have an equivelant?

no, strict XPath doesn't. but JSR 170 specifies an extension to standard
XPath
which is borrowed from XQuery.

See spec section 6.6.5.5

Example:

//element(*, car)[EMAIL PROTECTED]'green'] order by @price ascending


regards
marcel

Reply via email to