I had the same problem, the above answer is right. To make it more clear, in Xpath this will look something like:
//*:document[*:documentType=("magazine","newspaper")]
wich would be the equivalant of:
select * from documents where documenttype in ('newsletter','magazine')