Created
September 20, 2012 21:18
-
-
Save evanlenz/3758402 to your computer and use it in GitHub Desktop.
Code examples for article http://developer.marklogic.com/blog/path-range-indexes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<book> | |
<title>My book</title> | |
<chapter> | |
<title>Introduction</title> | |
<section> | |
<title>My section</title> | |
... | |
<section> | |
<title>My sub-section</title> | |
... | |
</section> | |
</section> | |
</chapter> | |
<chapter> | |
<title>My second chapter</title> | |
... | |
</chapter> | |
</book> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cts:values(cts:path-reference("chapter/title", | |
("collation=http://marklogic.com/collation/"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
temp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment