Previous posts in this series: Punctuation in XPath, part 1: dot (“.”) Punctuation in XPath, part 2: slash (“/”) Punctuation in XPath, part 3: “@” and “..” Punctuation in XPath, part 4: predicates (“[…]”) In this final blog of the series on XPath punctuation, we’ll learn about the “//” operator, a convenient shorthand for selecting […]
Posts in this series: Punctuation in XPath, part 1: dot (“.”) Punctuation in XPath, part 2: slash (“/”) Punctuation in XPath, part 3: “@” and “..” Punctuation in XPath, part 4: predicates (“[…]”) Punctuation in XPath, part 5: “//” We’ve already seen some examples of predicates that use square brackets (“[…]”). In this post, we’ll […]
Posts in this series: Punctuation in XPath, part 1: dot (“.”) Punctuation in XPath, part 2: slash (“/”) Punctuation in XPath, part 3: “@” and “..” Punctuation in XPath, part 4: predicates (“[…]”) Punctuation in XPath, part 5: “//” In this series, we’ve first taken a look at seen what “.” means, and then what […]
Posts in this series: Punctuation in XPath, part 1: dot (“.”) Punctuation in XPath, part 2: slash (“/”) Punctuation in XPath, part 3: “@” and “..” Punctuation in XPath, part 4: predicates (“[…]”) Punctuation in XPath, part 5: “//” The slash operator (“/”) in XPath is the connector you use to connect steps in a path expression. A […]
Posts in this series: Punctuation in XPath, part 1: dot (“.”) Punctuation in XPath, part 2: slash (“/”) Punctuation in XPath, part 3: “@” and “..” Punctuation in XPath, part 4: predicates (“[…]”) Punctuation in XPath, part 5: “//” When you write XQuery, a large subset of what you’re writing is actually XPath 2.0. In […]