simpleabbr 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. ========================
  2. Expression: /EXAMPLE
  3. Object is a Node Set :
  4. Set contains 1 nodes:
  5. 1 ELEMENT EXAMPLE
  6. ATTRIBUTE prop1
  7. TEXT
  8. content=gnome is great
  9. ATTRIBUTE prop2
  10. TEXT
  11. content=& linux too
  12. ========================
  13. Expression: /EXAMPLE/head
  14. Object is a Node Set :
  15. Set contains 1 nodes:
  16. 1 ELEMENT head
  17. ========================
  18. Expression: /EXAMPLE/chapter[1]
  19. Object is a Node Set :
  20. Set contains 1 nodes:
  21. 1 ELEMENT chapter
  22. ========================
  23. Expression: //p
  24. Object is a Node Set :
  25. Set contains 2 nodes:
  26. 1 ELEMENT p
  27. 2 ELEMENT p
  28. ========================
  29. Expression: //chapter/image
  30. Object is a Node Set :
  31. Set contains 1 nodes:
  32. 1 ELEMENT image
  33. ATTRIBUTE href
  34. TEXT
  35. content=linus.gif
  36. ========================
  37. Expression: //p/text()
  38. Object is a Node Set :
  39. Set contains 2 nodes:
  40. 1 TEXT
  41. content=bla bla bla ...
  42. 2 TEXT
  43. content=...
  44. ========================
  45. Expression: //p/text()[position()=1]
  46. Object is a Node Set :
  47. Set contains 2 nodes:
  48. 1 TEXT
  49. content=bla bla bla ...
  50. 2 TEXT
  51. content=...
  52. ========================
  53. Expression: //p/text()[position()=last()]
  54. Object is a Node Set :
  55. Set contains 2 nodes:
  56. 1 TEXT
  57. content=bla bla bla ...
  58. 2 TEXT
  59. content=...
  60. ========================
  61. Expression: (//p/text())[position()=1]
  62. Object is a Node Set :
  63. Set contains 1 nodes:
  64. 1 TEXT
  65. content=bla bla bla ...
  66. ========================
  67. Expression: (//p/text())[position()=last()]
  68. Object is a Node Set :
  69. Set contains 1 nodes:
  70. 1 TEXT
  71. content=...