i want to check if there is a certain string in a document, or another certain string. (and then do something) is it possible to use OR in xpath expressions? i tried this:
var xyz = document.evaluate("//dd[contains(., 'year || month')]", document, null, XPathResult.ANY_TYPE, null );
var xyz = headings.iterateNext();