```
<div>
  <p>a</p>
  <ul>
    <li></li>
  </ul>
  <other-tags></other-tags>
<div>

```

I would like to select `p` and `li` tags in the above example.

I can do it using `//div/p|//div/ul/li`, but is it possible to achieve the same without `|`, in other words, not repeating `//div`. I tried `//div/*[self::p or self::ul/li]`, but it selected `p` and `ul` tags.