Merge branch 'pr-396'
* pr-396: xpath: fix another possible typo and duplication
This commit is contained in:
commit
3f91b90fc1
3
xpath.md
3
xpath.md
|
@ -399,8 +399,7 @@ count(//*) # count all elements
|
||||||
Finds a `<section>` that directly contains `h1#section-name`
|
Finds a `<section>` that directly contains `h1#section-name`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Find a <section> that contains h1#section-name
|
//section[//h1[@id='section-name']]
|
||||||
//section[//*[@id='section-name']]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Finds a `<section>` that contains `h1#section-name`.
|
Finds a `<section>` that contains `h1#section-name`.
|
||||||
|
|
Loading…
Reference in New Issue