Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ϊʲô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ÄÚÈÝÊý¾Ý½øÐÐ±È½Ï - VC/MFC / HTML/XML

ÈçºÎ¶ÔxmlÄÚÈÝÊý¾Ý½øÐбȽÏ
ÀýÈ磺
<?xml version='1.0' encoding='utf-8'?>
  <TestLIST>
  <PID>40</PID>
  <TestName>ÉîÛÚÊÐ</TestName> ......

Êý¾ÝÒÔxml¸ñʽ·µ»Ø - MS-SQL Server / Ó¦ÓÃʵÀý

´ÓÊý¾Ý¿âÖвéѯһÕűíµÄÊý¾Ý
select ²¿ÃÅ,ÐÕÃû from tb
ÈçºÎ²ÅÄÜÉú³ÉÏÂÃæµÄxml¸ñʽ
XML code:
<folder state="unchecked" label="È«²¿">
¡¡¡¡ <folder state="unchecked&qu ......

ÔÚÕâÑùÒ»¸öxmlÎļþÀïÈçºÎÑ¡ÔñÌØµã½Úµã

<?xml version="1.0" encoding="UTF-8" ?> 
<root> 
<video> 
  <device deviceid="\\?\usb#vid_0c45&pid_613b#5&2d0620de& ......

vb¶ÁÈ¡ÓÃwordת»»³ÉµÄxmlÀïµÄÊý¾Ý - VB / »ù´¡Àà

Private Sub Command1_Click()
Dim MyString() As String
Open "a.xml" For Binary As #1 ' ´ò¿ª¸Õ´´½¨µÄÎļþ¡£
ReDim MyString(LOF(1) - 1)
  Put #1, , MyRecord ' ¶ÁÈëËùÓÐ×Ö·ûµ½±äÁ¿ÖÐ ......

C# xmlÎļþutf-8תgb2312ÎÊÌâ - Web ¿ª·¢ / XML/SOAP

ÎÒÒªÔÚÍøÒ³ÉÏÉÏ´«Ò»¸öXMLÎļþ£¬ÎÒÔÚC#ÖÐдÁËÒ»¸öÑéÖ¤XMLÎļþ¸ñʽµÄ·½·¨£º 
private bool ValidateXml(string xmlFilePath) 
  { 
  string xsdPath = Request.PhysicalApp ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ