chaptersbase 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. ========================
  2. Expression: /child::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: /child::*
  14. Object is a Node Set :
  15. Set contains 1 nodes:
  16. 1 ELEMENT EXAMPLE
  17. ATTRIBUTE prop1
  18. TEXT
  19. content=gnome is great
  20. ATTRIBUTE prop2
  21. TEXT
  22. content=& linux too
  23. ========================
  24. Expression: /child::EXAMPLE/child::head
  25. Object is a Node Set :
  26. Set contains 1 nodes:
  27. 1 ELEMENT head
  28. ========================
  29. Expression: /child::EXAMPLE/child::*
  30. Object is a Node Set :
  31. Set contains 6 nodes:
  32. 1 ELEMENT head
  33. 2 ELEMENT chapter
  34. ATTRIBUTE id
  35. TEXT
  36. content=chapter1
  37. 3 ELEMENT chapter
  38. ATTRIBUTE id
  39. TEXT
  40. content=chapter2
  41. 4 ELEMENT chapter
  42. ATTRIBUTE id
  43. TEXT
  44. content=chapter3
  45. 5 ELEMENT chapter
  46. ATTRIBUTE id
  47. TEXT
  48. content=chapter4
  49. 6 ELEMENT chapter
  50. ATTRIBUTE id
  51. TEXT
  52. content=chapter5
  53. ========================
  54. Expression: /child::EXAMPLE/child::head/child::title
  55. Object is a Node Set :
  56. Set contains 1 nodes:
  57. 1 ELEMENT title
  58. ========================
  59. Expression: /child::EXAMPLE/child::head/child::title/child::text()
  60. Object is a Node Set :
  61. Set contains 1 nodes:
  62. 1 TEXT
  63. content=Welcome to Gnome
  64. ========================
  65. Expression: /child::EXAMPLE/child::head/node()
  66. Object is a Node Set :
  67. Set contains 3 nodes:
  68. 1 TEXT
  69. content=
  70. 2 ELEMENT title
  71. 3 TEXT
  72. content=
  73. ========================
  74. Expression: /descendant::title
  75. Object is a Node Set :
  76. Set contains 6 nodes:
  77. 1 ELEMENT title
  78. 2 ELEMENT title
  79. 3 ELEMENT title
  80. 4 ELEMENT title
  81. 5 ELEMENT title
  82. 6 ELEMENT title
  83. ========================
  84. Expression: /descendant::p/ancestor::chapter
  85. Object is a Node Set :
  86. Set contains 5 nodes:
  87. 1 ELEMENT chapter
  88. ATTRIBUTE id
  89. TEXT
  90. content=chapter1
  91. 2 ELEMENT chapter
  92. ATTRIBUTE id
  93. TEXT
  94. content=chapter2
  95. 3 ELEMENT chapter
  96. ATTRIBUTE id
  97. TEXT
  98. content=chapter3
  99. 4 ELEMENT chapter
  100. ATTRIBUTE id
  101. TEXT
  102. content=chapter4
  103. 5 ELEMENT chapter
  104. ATTRIBUTE id
  105. TEXT
  106. content=chapter5