Ϊʲôxml½ÚµãÄÚÈÝΪ¿Õʱ»á»»ÐÐ
ÔÚxmlÎļþÖÐ,µ±½ÚµãÄÚÈÝΪ¿ÕµÄʱºòЧ¹ûÊÇ <abc></abc> ¶ø²»ÊÇ <abc> </abc> ÇëÎÊÒªÈçºÎʵÏÖ?лл¸ßÊÖ
×ö³É½ÚµãµÄʱºò£¬½ÚµãµÄÖµ¸³¸ö ¿Õ¸ñ ¾ÍokÁËÒýÓà ×ö³É½ÚµãµÄʱºò£¬½ÚµãµÄÖµ¸³¸ö ¿Õ¸ñ ¾ÍokÁË Àí½â´íÁË¡£¡£¡£ Èç¹û²»ÊÇ×îÍâÃæµÄÒ¶×Ó½ÚµãÒ»°ã¶¼ÊÇ <abc> </abc>ÏÔʾÒýÓà ÒýÓà 1 Â¥ ouzui µÄ»Ø¸´: ×ö³É½ÚµãµÄʱºò£¬½ÚµãµÄÖµ¸³¸ö ¿Õ¸ñ ¾ÍokÁË Àí½â´íÁË¡£¡£¡£ Èç¹û²»ÊÇ×îÍâÃæµÄÒ¶×Ó½ÚµãÒ»°ã¶¼ÊÇ <abc> </abc>ÏÔʾ ²»ÊÇ×îÍâµÄ½Úµã,ÏÖÔÚÎÒ¾ÍÊDz»ÒªËü»»ÐÐ ¼Çʱ¾±à¼XML FILEÎļþ´ò¿ªÈçÏ <StateOrProvinceCode></StateOrProvinceCode> <PostalCode></PostalCode> ¶ø²»ÊÇĬÈϵÄÏñÏÂÃæÕâÑù <StateOrProvinceCode> </StateOrProvinceCode> <PostalCode> </PostalCode> »¹請·¹ý¿´¹ýµÄ給ÎÒÖ§Ö§ÕÐ,tksÒýÓà ²»ÊÇ×îÍâµÄ½Úµã,ÏÖÔÚÎÒ¾ÍÊDz»ÒªËü»»ÐÐ ¡°¾ÍÊÇ¡±£¿¿ÉÊÇǰÌáÊÇ£ºËÒªÄãµÄ³ÌÐòÄØ£¿ÒýÓà ÒýÓà 3 Â¥ moss1229 µÄ»Ø¸´: ²»ÊÇ×îÍâµÄ½Úµã,ÏÖÔÚÎÒ¾ÍÊDz»ÒªËü»»ÐÐ ¡°¾ÍÊÇ¡±£¿¿ÉÊÇǰÌáÊÇ£ºËÒªÄãµÄ³ÌÐòÄØ£¿ ½ÚµãÄÚÈÝʱ²»ÐèÒª»»ÐÐ?Ã÷°×²»?ÒýÓà ÒýÓà 3 Â¥ moss1229 µÄ»Ø¸´: ²»ÊÇ×îÍâµÄ½
Ïà¹ØÎÊ´ð£º
ÈçºÎ¶ÔxmlÄÚÈÝÊý¾Ý½øÐÐ±È½Ï ÀýÈ磺 <?xml version='1.0' encoding='utf-8'?> <TestLIST> <PID>40</PID> <TestName>ÉîÛÚÊÐ</TestName>
......
´ÓÊý¾Ý¿âÖвéѯһÕűíµÄÊý¾Ý select ²¿ÃÅ,ÐÕÃû from tb ÈçºÎ²ÅÄÜÉú³ÉÏÂÃæµÄxml¸ñʽ XML code: <folder state="unchecked" label="È«²¿"> ¡¡¡¡ <folder state="unchecked&qu ......
<?xml version="1.0" encoding="UTF-8" ?> <root> <video> <device deviceid="\\?\usb#vid_0c45&pid_613b#5&2d0620de& ......
Private Sub Command1_Click() Dim MyString() As String Open "a.xml" For Binary As #1 ' ´ò¿ª¸Õ´´½¨µÄÎļþ¡£ ReDim MyString(LOF(1) - 1) Put #1, , MyRecord ' ¶ÁÈëËùÓÐ×Ö·ûµ½±äÁ¿ÖÐ ......
ÎÒÒªÔÚÍøÒ³ÉÏÉÏ´«Ò»¸öXMLÎļþ£¬ÎÒÔÚC#ÖÐдÁËÒ»¸öÑéÖ¤XMLÎļþ¸ñʽµÄ·½·¨£º private bool ValidateXml(string xmlFilePath) { string xsdPath = Request.PhysicalApp ......