XMLɸѡÎÊÌâ
Declare @x xml
set @x='
<smss date="676876876876">
<address data="+6547689879088">
<sms date="5435435435435" read="1" status="-1" type="1" body="fdsfdsfsdfsf"/>
<sms date="65876876876876" read="1" status="-1" type="2" body="54654tgfffhfhfg"/>
</address>
<address data="+534654765876876">
<sms date="879868698" read="1" status="-1" type="1" body="8678768979878798gfdg"/>
<sms date="54765787687" read="1" status="-1" type="1" body="76876978098p009o"/>
<sms date="6y5765875" read="1" status="-1" type="1" body="76576587698798"/>
</address>
<address data="+76587687980">
<sms date="676787687" read="1" status="-1" type="1" body="hgfdhdghgdhg"/>
<sms date="5try" read="1" status="-1" type="1" body="gfdhggdhgd"/>
<sms date="y65y65" read="1" status="-1" type="1" body="reetrytr"/>
<sms date="y65
Ïà¹ØÎÊ´ð£º
Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
<a>aaa
</a>
<b>bbb
</b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......
DataSetµ¼³öxml Åú´¦Àí(Ñ»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
<B>
<C>
</C>
&nb ......
ÈçºÎ¶ÔxmlÄÚÈÝÊý¾Ý½øÐбȽÏ
ÀýÈ磺
<?xml version='1.0' encoding='utf-8'?>
<TestLIST>
<PID>40</PID>
<TestName>ÉîÛÚÊÐ</TestName>
......
string b = "";
b = System.Guid.NewGuid().ToString();//»ñµÃ»á»°ID
//дXML
XmlDocument xml = new XmlDocumen ......
ÒýÓõÄÎļþ°üº¬´íÎó£¨XXXXX.xsd£©¡£Óйظü¶àÐÅÏ¢£¬ÓÒ¼üµ¥»÷ÏûÏ¢²¢Ñ¡Ôñ¡°ÏÔʾÏêϸÐÅÏ¢...¡±
ÇëÎÊÕâÊÇÄijö´íÁË£¿£¿£¿ÎÒÔÚelipseÀïû´í Äõ½myelipseÀïxmlÈ«ÊÇÕâ¸ö´íÎ󡣡£¡£¡£
ÊDz»ÊÇÉÙ°ü°¡£¿
°ü¶¼ÔÚÄØÑ½¡£¡£¡£ ......