只返回节点时,我用这个XPath查询:的Xpath:与内容
>xpath //XmlFeed/ProductList/Product/ProductGroup
1000返回结果,这是正确的。然而,1000个结果中,700是零元素,如:
<ProductGroup xsi:nil="true"/>
,其余确实有数据:
<ProductGroup>
<ID>100</ID>
<Description>Something cool</Description>
</ProductGroup>
是否有可能更改查询,这样我只得到结果不是零?