XPATH check if an attribute contains one of multiple values
<p>I need to check if an attribute of an XML node contains one of values
Here's my XML:</p>

<pre><code>&lt;manifest&gt;
    &lt;item id="item_557c683790288" href="navigation.ncx" media-type="application/x-dtbncx+xml"/&gt;
    &lt;item id="toc" href="navigation.xhtml" media-type="application/xhtml+xml" properties="nav"/&gt;
    &lt;item id="item_557c68379035d" href="title-page.html" media-type="application/xhtml+xml" properties="scripted"/&gt;
    &lt;item id="item_557c683790414" href="imprint.html" media-type="application/xhtml+xml" properties="scripted svg"/&gt;
    &lt;item id="item_557c6837904b6" href="author.html" media-type="application/xhtml+xml" properties="scripted"/&gt;
    &lt;item id="item_557c683790572" href="file_557c6766c75a9.html" media-type="application/xhtml+xml" properties="scripted"/&gt;
    &lt;item id="item_557c683790625" href="liberio.css" media-type="text/css"/&gt;
    &lt;item id="item_557c6837906ef" href="assets/2dcc626f-387f-4658-d6f6-58570ae176e7.jpg" media-type="image/jpeg"/&gt;
    &lt;item id="item_557c6837907c4" href="assets/liberio_color.svg" media-type="image/svg+xml"/&gt;
    &lt;item id="item_557c683790879" href="assets/93d7f25284aeda831bde692e6b002b9f.png" media-type="image/png"/&gt;
    &lt;item id="item_557c683790949" href="assets/properties.js" media-type="application/javascript"/&gt;
&lt;/manifest&gt;
</code></pre>

<p>Right now I'm using the following expression: </p>

<pre><code>$images = $this-&gt;opfSxml-&gt;xpath("//*[local-name()='manifest']/*[local-name()='item'][contains(@media-type,'png') or contains(@media-type, 'jpg') or contains(@media-type, 'ico') ]");
</code></pre>

<p>My code is working but repeating OR and CONTAINS for each value I'm checking against does't feel right for me.</p>

<p>Is there a short way to write this?</p>