![]() |
"range-to" Function
For each location in the context, range-to returns a range
Example: Locates the range from the start point of the element with
ID "chap1" to the end point of the element with ID "chap2"
xpointer(id("chap1")/range-to(id("chap2")))
"string-range" Function
Returns a location set with one range for every nonoverlapping match to the search string. The match operation is case-sensitive.
Examples:string-range(/,"John") string-range(/,"John")[2] string-range(//STUDENT[3]/NAME, "John")[3] string-range(//STUDENT[3]/NAME, "John",6,2)[3]
23 of 23 |
