strrange2 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. ========================
  2. Expression: xpointer(string-range(//p, 'test', 2))
  3. Object is a Location Set:
  4. 1 : Object is a range :
  5. From index 11 in node
  6. TEXT
  7. content=a simple test
  8. To index 13 in node
  9. TEXT
  10. content=a simple test
  11. 2 : Object is a range :
  12. From index 11 in node
  13. TEXT
  14. content=multiple tests
  15. To index 13 in node
  16. TEXT
  17. content=multiple tests
  18. 3 : Object is a range :
  19. From index 8 in node
  20. TEXT
  21. content=anced test
  22. To index 10 in node
  23. TEXT
  24. content=anced test
  25. ========================
  26. Expression: xpointer(string-range(//p, 'test', 2, 2))
  27. Object is a Location Set:
  28. 1 : Object is a range :
  29. From index 11 in node
  30. TEXT
  31. content=a simple test
  32. To index 12 in node
  33. TEXT
  34. content=a simple test
  35. 2 : Object is a range :
  36. From index 11 in node
  37. TEXT
  38. content=multiple tests
  39. To index 12 in node
  40. TEXT
  41. content=multiple tests
  42. 3 : Object is a range :
  43. From index 8 in node
  44. TEXT
  45. content=anced test
  46. To index 9 in node
  47. TEXT
  48. content=anced test
  49. ========================
  50. Expression: xpointer(string-range(//p, 'difficult', 1, 0))
  51. Object is a Location Set:
  52. 1 : Object is a collapsed range :
  53. index 3 in node
  54. TEXT
  55. content=a diff