From 572f410bffc165367da9343e812bb2bc734e7ebf Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Fri, 17 Apr 2015 19:04:42 +0800 Subject: [PATCH] Formatting --- xpath.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xpath.md b/xpath.md index c2714bdd1..ea69eea1c 100644 --- a/xpath.md +++ b/xpath.md @@ -91,6 +91,7 @@ Xpath doesn't have the "check if part of space-separated list" operator, so this ```sh //div[contains(concat(' ',normalize-space(@class),' '),' foobar ')] ``` +{:.light} Expressions ----------- @@ -122,6 +123,7 @@ A step may have an element name (`div`) and [predicates](#predicate) (`[...]`). //div[@name='box'] //[@id='link'] ``` +{:.light} They can also be these other things. @@ -142,6 +144,7 @@ Restricts a nodeset only if some condition is true. They can be chained. //div[@class="head"] //div[@class="head"][@id="top"] ``` +{:.light} ### Operators Use comparison and logic operators to make conditionals.