edit this page - page history - about editing

XPath

XML
  1. Using XPath to find EMF elements
Consider this tree:

A
- B
--- B
- B (desired)
--- B
----- B ($current)

To get to the node desired, you can use the following XPath query:

$current/ancestor::B[parent::A]

Categories: Technology | XML
edit this page - what links to here? - page history - top
Last edited by jevon jevon 102 months ago