November 29, 2010

XPath Query - Perform a case insensitive comparison

To perform a case insensitive comparison you may use the function : CompareCaseInsensitive.


If you need to compare the field 'name' case insensitively you may use 'key' in place of 'name'.

Important: the search value has to be lower case!

All the XPath query function are available in Sitecore.Data.Query.Functions

No comments:

Post a Comment