Update xpath

This commit is contained in:
Rico Sta. Cruz 2015-04-17 15:50:23 +08:00
parent 921d193026
commit ea76b24ce8
1 changed files with 3 additions and 3 deletions

View File

@ -7,13 +7,13 @@ layout: default
| CSS | Xpath | ? |
| --- | --- | ---: |
| `h1` | `//h1` | [?](#prefixes) |
| `div p` | `//div//p` | [?](#axes) |
| --- | --- | |
| `ul > li` | `//ul/li` | [?](#axes) |
| `ul > li > a` | `//ul/li/a` | |
| `div > *` | `//div/*` | |
| --- | --- | |
| `h1` | `//h1` | [?](#prefixes) |
| `div p` | `//div//p` | [?](#axes) |
| --- | --- | |
| `h1 + ul` | `//h1/following-sibling::ul` | [?](#other-axes) |
| `h1 + #id` | `//h1/following-sibling::[@id="id"]` | |
| --- | --- | |