strpoint 2.0 KB

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