G.14 Or
Prev | Appendix G. Core selectors | Next

## G.14 Or

The `<or>` tag selects files that are selected by any one of the elements it contains. It returns as soon as it finds a selector that selects the file, so it is not guaranteed to check every selector.

    <fileset dir="${src}">
      <or>
        <depth max="0"/>
        <filename name="*.png"/>
        <filename name="*.gif"/>
        <filename name="*.jpg"/>
      </or>
    </fileset>

Prev | Up | Next
G.13 Not | Home | G.15 Selector