xml »»ÐÐ
<JiBie2 name="bbb" url="10.10.10.12/gongzhongxinxi/Qiyebiaozhun_Mingxibiao.php" alertcolor="#CC0000" >
ÏëÒª°ÑnameÀïÌí¼ÓÒ»¸ö»»Ðзû£¬ÏÔʾµÄʱºò¿´ÆðÀ´
b
bb
ÇëÎÊÓ¦¸ÃÔõôд£¿
ÎÒÊÇÔÚphpÎļþÀïÓÃecho ·½·¨À´Ð´ <JiBie2 name="bbb" url="10.10.10.12/gongzhongxinxi/Qiyebiaozhun_Mingxibiao.php" alertcolor="#CC0000" >£¬ÇëÎÊÈçºÎд£¿
bbb£¬Ôõô·Ö±æÒª´ÓÄĶϿª£¿
ÄãÓ¦¸ÃÒªÔÚbbbÀﶨÒå¸ö·Ö¸ô·û£¬È»ºóÔçPHPÀïÓÃ×Ö·û´®´¦Àíº¯ÊýÀ´Åжϣ¬È»ºóÓà <br />»»ÐС£
bbb¾ÍÊǵÚÒ»¸öbºóÃæ¼ÓÒ»¸ö»»ÐÐ
¡°ÄãÓ¦¸ÃÒªÔÚbbbÀﶨÒå¸ö·Ö¸ô·û£¬È»ºóÔçPHPÀïÓÃ×Ö·û´®´¦Àíº¯ÊýÀ´Åжϣ¬È»ºóÓà <br />»»ÐС£¡±
¸ø¸öÀý×ÓÂֱ½Óд³öÀ´¾ÍÐÐÁË
\r\n
name="b\r\nbb"Âð£¿
ÎÒÊÔ¹ý²»Ðа¡
ÎÒÓõÄÊÇphp echo³öxml¸ñʽµÄ <JiBie2 name="bbb" url="10.10.10.12/gongzhongxinxi/Qiyebiaozhun_Mingxibiao.php" alertcolor="#CC0000" > È»ºóÔÚjavascriptÀ´½âÎöÕâ¸öÉú³ÉµÄ.xml
¾ÍÊÇÏë°Ñ¿´µ½µÄÃû×Ö»»ÐУ¨b»»ÐÐbbb£©¶ø²»ÊÇbbb
¶Ô²»Æð£¬ÎÒ˵´íÁË£¬¸Õ²ÅÓÖÊÔÁËÏÂ
name="b\r\nbb"ÊÇ¿ÉÒÔµÄ
лл
Ïà¹ØÎÊ´ð£º
DataSetµ¼³öxml Åú´¦Àí(Ñ»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
<B>
<C>
</C>
&nb ......
<?xml version="1.0"?>
<root>
<status>433</status>
<msg>Õâ¸öÊǺº×Ö</msg>
<serialno>123</serialno>
</root>
ÈçºÎÓÃASP¶ÁÈ¡ statusÖµ ......
ΪʲôÎҵijÌÐòµ÷ÓÃXMLÅäÖÃÎļþÖеİ¢À²®ÎÄÏÔʾ²»³öÀ´£¿ÆäËûµÄÓïÖÖ¶¼¿ÉÒÔ£¬ÈçÖÐÎÄ£¬Ó¢ÎÄ£¬µÂÎͼ¿É¡£
ÎÒ½«XMLµÄ±àÂë¸ÄΪutf-8ºÍunicodeµÄµ½µÃ½á¹û¶¼Ò»Ñù.
°¢À²®ÎĵÄ×Ö¿âÄãÓÐô£¿
ÓÐ,ÎÒµÄEXEÊÇ·ÅÔÚpc»úÉÏÖ´Ðе ......
˼·£ºÒªÓÃc#Éú³ÉÒ»¸ö²¥·Å»úµÄ²¥·ÅÁбíµÄxml£¬ÀýÈ磺
<daty datys='2010-04-05' datye='2010-05-01' > //ÕâÊDz¥·ÅµÄÈÕÆÚ¶Î
<time times='01:12:00' timee='02:30:00'> ......
ÎÒÓÃXmlDocumentÉú³ÉXML
XmlElement remarkNode = node.OwnerDocument.CreateElement("remark");
remark1Node.InnerXml = "";
Èç¹ûInnerXml¸³Öµ²»Îª¿Õ£¬ÔòÉú³ÉµÄ±ê¼ÇÊÇûÎÊÌâµÄ£¬±ÈÈ磺<r ......