I am trying to perform a single query that has an indeterminate number of Or statements inside of it. If the hard limit is only two in Sharepoint 2007 is there a way to do something like below, without resorting to a third party library or making multiple calls?
<Where> <Or> <Eq> <FieldRef Name='Name' /> <Value Type='Text'>John</Value> </Eq> <Eq> <FieldRef Name='Name' /> <Value Type='Text'>Linda</Value> </Eq> <Eq> <FieldRef Name='Name' /> <Value Type='Text'>Jim</Value> </Eq> <Eq> <FieldRef Name='Name' /> <Value Type='Text'>Jane</Value> </Eq> </Or> </Where>