jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Hang <jh...@bea.com>
Subject Case insensitive order by?
Date Mon, 28 May 2007 18:14:45 GMT

Is it possible to do a case-insensitive order by using an XPATH search?  I
tried using the fn:lower-case function like this:

/root//element(*,my:type)
order by fn:lower-case(@my:property) ascending

But it doesn't seem to like the fn:lower-case function call within the order
by clause.  I get a parse exception.  Is there a way around this?  Or is
there another way of doing a case-insensitive order by without using the
fn:lower-case function?

Thanks!

James

-- 
View this message in context: http://www.nabble.com/Case-insensitive-order-by--tf3829293.html#a10840068
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message