Difference between XPath, XQuery and XPointer

后端 未结 4 409
广开言路
广开言路 2021-01-30 10:20

What is the difference between XPath, XQuery and XPointer? As far as I know, XQuery is an extended version of XPath

4条回答
  •  [愿得一人]
    2021-01-30 10:56

    Wikipedia is a good place to start for questions like this. Generally, XPath is a language used to succinctly pinpoint exact XML nodes in a DOM. XQuery is a superset of XPath that also provides FLWOR syntax, which is SQL-like. Finally, XPointer includes XPath, but also provides a simpler position-based addressing scheme.

    Of course, you can always read the W3C specs for full details.

提交回复
热议问题