是否可以接受以下任何XPath表达式?使用eclipselink 2.3.1版
@XmlPath("../header/@type")
@XmlPath("/root/header/@type")
@XmlPath("parent::*/header/@type")基本上,这是在一个在XML document (/root/tag)中重复的类中,如果这还不清楚,我将详细说明。
我正试着往树上走而不是往下走。我的其他@XmlPath注释工作得很好。
发布于 2011-12-07 02:50:12
当前不支持轴/父对象。如果您对此类支持感兴趣,请输入增强请求:
它支持XPath,如下所示:
有关详细信息的,请访问
https://stackoverflow.com/questions/8404134
复制相似问题