caml query – Add multiple Fields For the CamlQuery in Sharepoint Hosted App


I try to filter two Fields or more that is clean of null values, it works for the first field but it does not for the second:

<View><Query><Where><IsNotNull><FieldRef Name='CustomField'/></IsNotNull><IsNotNull><FieldRef Name='LaborCategory'/></IsNotNull></Where></Query></View>