C# xml处理
xml结构如下:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<cfgfile:cmconfigdatafile xmlns:RAN="http://www.huawei.com/specs/huawei_cme_GERAN_NRM_baseline_all" xmlns:cfgfile="http://www.huawei.com/specs/huawei_cme_RAN6.0_BulkCM_FileFormat_baseline_1.0.0" xmlns:gn="http://www.huawei.com/specs/huawei_CME_GenericNRMdescription_baseline_1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.huawei.com/specs/huawei_cme_GERAN_NRM_baseline_all CMEERAN_NRM_Spec_ALL.xsd http://www.huawei.com/specs/huawei_cme_RAN6.0_BulkCM_FileFormat_baseline_1.0.0 CMEERANcfgCMData_spec.xsd http://www.huawei.com/specs/huawei_CME_GenericNRMdescription_baseline_1.0.0 CMEERANGenericNRM.xsd">
<cfgfile:fileheader filetype="ExportFile"/>
<cfgfile:subsession neid="10.144.255.46" netype="eNodeBNE" neversion="DBS3900 LTE V100R005C00" opmode="BreakonFailure">
<gn:DataContainer>
<RAN:eNodeB_3.0>
<ENODEB>
<attributes>
<AUTOPOWEROFFSWITCH>1</AUTOPOWEROFFSWITCH>
<ENODEBID>360</ENODEBID>
<GCDF>0</GCDF>
<LATITUDE>0</LATITUDE>
<LOCATION>Testbed</LOCATION>
<LONGITUDE>0</LONGITUDE>
<NAME>360</NAME>
<POWEROFFTIME>00:00:00</POWEROFFTIME>
<POWERONTIME>06:00:00</POWERONTIME>
</attributes>
<TRANSPORT>
<IPRT>
<attributes>
<CN>0</CN>
<DESCRI>OAM IKE tunnel</DESCRI>
<DSTIP>172.27.13.84</DSTIP>
<DSTMASK>255.255.255.255</DSTMASK>
<NEXTHOP>10.80.217.49</NEXTHOP>
<PREF>50</PREF>
<RTTYPE>0</RTTYPE>
<SBT>0</SBT>
<SN>7</SN>
<SRN>0</SRN>