Hello, I have a list view that uses an XPath contsraint to show it's values. The list view is wrapped in a data view with a non-persistable entity as it's data source. I use the non-persistable entity to filter the list view based on what the user fills out in a pop-up. I want them to be able to apply multiple filters at the same time. I can achieve this by using "AND" functions in the XPath constraint. However, I can't get it to properly allow for list view items that have null values in one or more of the filterable fields. So this is what I would like to put in the XPath constraint: IF $filter/Name = empty then don't include in XPath else $listview/Name = $filter/Name and IF $filter/City = empty then don't include in XPath else $listview/City = $filter/City and so on. . . Any ideas?
[$filter/Name = empty or $filter/Name = $listview/Name][$filter/City = empty or $filter/City = $listviewCity]