开发者

XPath Query to return nodes of a certain ComplexType

Lets say I have a ComplexType called CarType that is applied to elements such as Sedan and SUV. Ho开发者_如何学编程w do I write an XPath query that returns all of the Sedan and SUV nodes by just using CarType?


Assuming you have a schema-aware XPath 2.0 processor,

//element(*, CarType)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜