simplebase 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. ========================
  2. Expression: /child::*
  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::EXAMPLE
  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 2 nodes:
  32. 1 ELEMENT head
  33. 2 ELEMENT chapter
  34. ========================
  35. Expression: /child::EXAMPLE/child::head/child::title
  36. Object is a Node Set :
  37. Set contains 1 nodes:
  38. 1 ELEMENT title
  39. ========================
  40. Expression: /child::EXAMPLE/child::head/child::title/child::text()
  41. Object is a Node Set :
  42. Set contains 1 nodes:
  43. 1 TEXT
  44. content=Welcome to Gnome
  45. ========================
  46. Expression: /child::EXAMPLE/child::head/node()
  47. Object is a Node Set :
  48. Set contains 3 nodes:
  49. 1 TEXT
  50. content=
  51. 2 ELEMENT title
  52. 3 TEXT
  53. content=
  54. ========================
  55. Expression: /descendant::title
  56. Object is a Node Set :
  57. Set contains 2 nodes:
  58. 1 ELEMENT title
  59. 2 ELEMENT title
  60. ========================
  61. Expression: /descendant::p/ancestor::chapter
  62. Object is a Node Set :
  63. Set contains 1 nodes:
  64. 1 ELEMENT chapter