nikunj321 Posted June 5, 2009 Share Posted June 5, 2009 How should i sort a field using xpath expression? Link to comment Share on other sites More sharing options...
jbo_master Posted June 8, 2009 Share Posted June 8, 2009 XPath itself doesn't support sorting ! Mayby you can group your data on that specific field. Link to comment Share on other sites More sharing options...
nikunj321 Posted June 8, 2009 Author Share Posted June 8, 2009 Actually my field is treating field having value '1' and '01' as different value and thus when i group on this it is not giving the desired ouptput.. Link to comment Share on other sites More sharing options...
jbo_master Posted June 8, 2009 Share Posted June 8, 2009 what about the following:.replaceAll("^0+", "");Post Edited by jbo_master at 06/08/2009 11:10 Link to comment Share on other sites More sharing options...
madhukiran Posted November 30, 2009 Share Posted November 30, 2009 the sort works fine when you first add the outer group by field first, then the inner group-by field in the sort options.(in case we are using multiple groups) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now