我需要使用通用配置读取复杂的 XML 文件。有人可以帮助我吗?
<configurations>
<configuration type="application configuration">
<group id="1" name="President">
<sentiment-searcher>
<sentiment id="1" type="sentiment candidate 1">
<positive>'Obama okay' 'Obama great'</positive>
<negative>'Obama bad' 'Obama idiot'</negative>
</sentiment>
<sentiment id="2" type="sentiment candidate 2">
<positive>'Putin okay'</positive>
<negative>'Putin bad'</negative>
</sentiment>
</sentiment-searcher>
</group>
</configuration>
</configurations>