B
bambinoo
Unregistered / Unconfirmed
GUEST, unregistred user!
<?xml version="1.0" standalone="yes"?>
<DATAPACKET Version="2.0">
<METADATA>
<FIELDS>
<FIELD attrname="id" fieldtype="string.uni" WIDTH="100"/>
<FIELD attrname="name" fieldtype="string.uni" WIDTH="100"/>
<FIELD attrname="class" fieldtype="string.uni" WIDTH="100"/>
</FIELDS>
<PARAMS CHANGE_LOG="6 0 4"/>
</METADATA>
<ROWDATA>
<ROW id="01" name="&#36127;&#30340;&#19977;&#20998;" class="&#28779;&#33647;&#26742;&#24133;&#24230;"/>
<ROW id="02" name="&#36127;&#30340;&#19977;&#20998;" class="&#20110;&#20170;&#22825;"/>
<ROW id="03" name="&#20998;&#31532;&#19977;&#20010;" class="&#19968;&#26465;&#34903;"/>
<ROW id="04" name="&#21548;&#20219;" class="&#26465;&#20214;"/>
<ROW id="05" name="&#31361;&#21457;&#21160;&#30011;" class="&#20250;&#26377;&#31361;&#28982;&#38388;"/>
<ROW RowState="4" id="aaa" name="aaa" class="aaa"/>
</ROWDATA>
</DATAPACKET>
像这样地xml中我要取
<FIELD attrname="id" fieldtype="string.uni" WIDTH="100"/>
和 <PARAMS CHANGE_LOG="6 0 4"/>
两处地内容怎么取?
<DATAPACKET Version="2.0">
<METADATA>
<FIELDS>
<FIELD attrname="id" fieldtype="string.uni" WIDTH="100"/>
<FIELD attrname="name" fieldtype="string.uni" WIDTH="100"/>
<FIELD attrname="class" fieldtype="string.uni" WIDTH="100"/>
</FIELDS>
<PARAMS CHANGE_LOG="6 0 4"/>
</METADATA>
<ROWDATA>
<ROW id="01" name="&#36127;&#30340;&#19977;&#20998;" class="&#28779;&#33647;&#26742;&#24133;&#24230;"/>
<ROW id="02" name="&#36127;&#30340;&#19977;&#20998;" class="&#20110;&#20170;&#22825;"/>
<ROW id="03" name="&#20998;&#31532;&#19977;&#20010;" class="&#19968;&#26465;&#34903;"/>
<ROW id="04" name="&#21548;&#20219;" class="&#26465;&#20214;"/>
<ROW id="05" name="&#31361;&#21457;&#21160;&#30011;" class="&#20250;&#26377;&#31361;&#28982;&#38388;"/>
<ROW RowState="4" id="aaa" name="aaa" class="aaa"/>
</ROWDATA>
</DATAPACKET>
像这样地xml中我要取
<FIELD attrname="id" fieldtype="string.uni" WIDTH="100"/>
和 <PARAMS CHANGE_LOG="6 0 4"/>
两处地内容怎么取?