commit
d34b21ca8c
3
xpath.md
3
xpath.md
|
@ -51,7 +51,8 @@ Works in Firefox and Chrome.
|
||||||
| ---- | ---- | -- |
|
| ---- | ---- | -- |
|
||||||
| `a[href^='/']` | `//a[starts-with(@href, '/')]` | [?](#string-functions) |
|
| `a[href^='/']` | `//a[starts-with(@href, '/')]` | [?](#string-functions) |
|
||||||
| `a[href$='pdf']` | `//a[ends-with(@href, '.pdf')]` | |
|
| `a[href$='pdf']` | `//a[ends-with(@href, '.pdf')]` | |
|
||||||
| `a[href~='://']` | `//a[contains(@href, '://')]` *...[kinda](#class-check)* | |
|
| `a[href*='://']` | `//a[contains(@href, '://')]` | |
|
||||||
|
| `a[rel~='help']` | `//a[contains(@rel, 'help')]` *...[kinda](#class-check)* | |
|
||||||
{: .xp}
|
{: .xp}
|
||||||
|
|
||||||
### Order selectors
|
### Order selectors
|
||||||
|
|
Loading…
Reference in New Issue