Given an arbitrary amount nodes to select:

<root>
  <foo>1</foo>
  <foo>2</foo>
  <foo>3</foo>
  <foo>4</foo>
  <!-- ... -->
<root>

How do I select every other foo so that I get foo[1], foo[3], ... ?

Edit
Report