Are any of the following XPath expressions acceptable? Using version 2.3.1 of eclipselink
@XmlPath("../header/@type")
@XmlPath("/root/header/@type")
@XmlPath("parent::*/header/@type")
Basically this is in a class which repeats within the XML document (/root/tag
), if that isn't clear I'll elaborate.
I'm trying to traverse up the tree rather than down. My other @XmlPath
annotations are working fine.