xpath for xml navigation
play

XPath for XML Navigation Janis Voigtl ander Technische Universit - PowerPoint PPT Presentation

XPath for XML Navigation Janis Voigtl ander Technische Universit at Dresden Summer Term 2009 XPath for Tree Navigation: An Example Document: A B B C D D E F F E F F F F Query: /descendant::D/child::F[position()=1] XPath for


  1. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  2. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  3. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  4. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  5. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  6. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  7. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  8. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  9. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  10. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  11. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  12. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  13. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  14. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  15. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  16. Another Example Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box/item[@color="yellow"]

  17. Paths as Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item]

  18. Paths as Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item]

  19. Paths as Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item]

  20. Paths as Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item]

  21. Paths as Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item]

  22. Paths as Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item]

  23. Paths as Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item]

  24. Paths as Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item] Note the difference to //box/item !

  25. Nested Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item[@color="yellow"]]

  26. Nested Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item[@color="yellow"]]

  27. Nested Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item[@color="yellow"]]

  28. Nested Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item[@color="yellow"]]

  29. Nested Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item[@color="yellow"]]

  30. Nested Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item[@color="yellow"]]

  31. Nested Filter Expressions Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //box[item[@color="yellow"]]

  32. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: /descendant::item[1]

  33. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: /descendant::item[1]

  34. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: /descendant::item[1]

  35. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: /descendant::item[1]

  36. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: /descendant::item[1]

  37. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: /descendant::item[1]

  38. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: /descendant::item[1]

  39. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //item[1]

  40. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //item[1]

  41. Tricky Abbreviations Document: doc box box box item item item item item color=“yellow” color=“yellow” color=“blue” color=“green” color=“blue” Query: //item[1]

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend