Merge branch 'pr-396'

* pr-396:
  xpath: fix another possible typo and duplication
This commit is contained in:
Rico Sta. Cruz 2018-03-15 17:25:34 +08:00
commit 3f91b90fc1
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 1 additions and 2 deletions

View File

@ -399,8 +399,7 @@ count(//*) # count all elements
Finds a `<section>` that directly contains `h1#section-name`
```bash
# Find a <section> that contains h1#section-name
//section[//*[@id='section-name']]
//section[//h1[@id='section-name']]
```
Finds a `<section>` that contains `h1#section-name`.