Progress Acquires MarkLogic! Learn More

Blog

Everything From Data Tips and NoSQL Best Practices to Industry Specific Insights

How do you find the URIs of documents that do not have a deeply nested structure? Generally, this problem isn't easily solvable using pure cts:query constructs -- that was, until now.
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: “//” 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 […]