From 76deb80528154d6e5cb1c68de18429950052ce85 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Sun, 11 Feb 2018 19:09:01 +0200 Subject: [PATCH] xpath: fix another possible typo and duplication --- xpath.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xpath.md b/xpath.md index 017354baf..23e71428f 100644 --- a/xpath.md +++ b/xpath.md @@ -168,7 +168,7 @@ Predicates ### Predicates ```bash -//div[true()] +//div[true()] //div[@class="head"] //div[@class="head"][@id="top"] ``` @@ -398,8 +398,7 @@ count(//*) # count all elements Finds a `
` that directly contains `h1#section-name` ```bash -# Find a
that contains h1#section-name -//section[//*[@id='section-name']] +//section[//h1[@id='section-name']] ``` Finds a `
` that contains `h1#section-name`.