Hi Dharmendra, Thanks for writing to the list.
> I want to perform combination (AND OR) search on the basis of the provided > parameter by the user, where user will select the field name e.g.(title, > isbn, author) and their value from front-end so here field name will be the > parameter for the BaseX. > > Currently i am asking front-end person the generate below combination query > ( (title = "United States" or isbn = "2345371242192") and author ="Jhon" ) Could you please give us more details on how this string is generated by the frontend? Next, your XPath expression differs in many aspects from the frontend representation. Some examples: • It seems that "author" needs to be mapped to: normalize-space(string-join((*:info/*:author)[1]/*:personname//text()) • "isbn" was mapped to $isbn="*:info/isban" (shouldn’t it be *:info/*:isbn, and without quotes?) I assume that it’s not sufficient to map each frontend field to an element name? Thanks in advance, Christian

