mirror of
https://github.com/rstacruz/cheatsheets.git
synced 2026-04-27 03:00:45 -04:00
Clarify axes
This commit is contained in:
2
xpath.md
2
xpath.md
@@ -48,7 +48,7 @@ layout: default
|
||||
|
||||
| CSS | Xpath | ? |
|
||||
| ---- | ---- | -- |
|
||||
| `h1 ~ ul` | `//h1/following-sibling::ul` | [?](#other-axes) |
|
||||
| `h1 ~ ul` | `//h1/following-sibling::ul` | [?](#using-axes) |
|
||||
| `h1 + ul` | `//h1/following-sibling::ul[1]` | |
|
||||
| `h1 ~ #id` | `//h1/following-sibling::[@id="id"]` | |
|
||||
{:.greycode.no-head.xp}
|
||||
|
||||
Reference in New Issue
Block a user