xml 节点带有名称空间的解析问题 急!!!!
<?xml version= "1.0 " encoding= "UTF-8 " ?>
- <ItemLookupResponse xmlns= "http://webservices.amazon.com/AWSECommerceService/2005-10-05 ">
<Item>
<ASIN> B000091L8E </ASIN>
</Item>
</ItemLookupResponse>
这种命名空间在节点上怎样取ASIN的值,我在JAVA中写了一个类A可以取,但是用一个servlet类调用这个类A就不好用了,我使用的Xpath取的,兄弟们帮忙看一下呀
[解决办法]
参考
http://community.csdn.net/Expert/topic/5735/5735846.xml?temp=.6559259