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 […]
Recently, I built a MarkLogic web application using a lot of XSLT and a dash of XQuery. I was able to apply my understanding about how to optimize code to make a site like this perform better, so I thought I would share some of these insights with other beginners. Whenever MarkLogic evaluates an XPath […]