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

ÊÖ´òÔ­xml±Ê¼ÇÊÖ³­±¾

1. <?xml version="1.0" encoding="GB2312" standalone="yes" ?>
       1.1 ÕâÊÇxmlµÄÎĵµÉùÃ÷£¬Ò»°ãλÓÚxmlÎļþµÄÊ×ÐС£
       1.2 Êéд¹æ·¶£º<?xmlΪһÌå Ö®¼ä²»ÄÜÓпոñ¡£
       1.3 encodingÊôÐÔ£¬Èç¹ûûÓУ¬¾ÍĬÈÏΪUnicode±àÂ룬ϵͳ»á×Ô¶¯Ê¶±ðÊÇutf-8»òÕßutf-16.
2. xml±ê¼ÇÊÇÇø·Ö´óСдµÄ¡£
3. xml×¢ÊͺÍhtmlÏàͬ¡£<!-- ×¢ÊÍÄÚÈÝ -->
4. ÔÚxmlÖУ¬ËùÓеĻ»ÐкͿոñ¶¼±»”ÎÞËð“µÄ×÷ΪÄÚÈÝ£¬ÀýÈçÏÂÃæÁ½¸öÔªËØµÄÄÚÈÝÊDz»Ò»ÑùµÄ£º
        <ÊéÃû>123</ÊéÃû>
        <ÊéÃû>
            123
        </ÊéÃû>
 5. Èç¹ûÔªËØµÄÄÚÈݺÍxmlµÄÓï·¨±ê¼ÇÓгåÍ»£¬ÀýÈçx<3×÷ÎªÔªËØµÄÄÚÈÝʱ£¬<¾Í»áÓëxmlµÄÓï·¨³åÍ»¡£½â¾ö·½·¨ÊÇ
       5.1 ʹÓÃCDATAÇøÓò¡£ÀýÈ磺
            <ÊéÃû><![CDATA[x<3]]></ÊéÃû>
             Óï·¨¸ñʽÊÇ<![ADATA[ÄÚÈÝ]]>
       5.2 ʹÓÃתÒå×Ö·û
                   &     ----->       &amp;
                   <     ----->       &lt;
                   >     ----->       &gt;
                    "    


Ïà¹ØÎĵµ£º

XML Óï·¨¹æÔò


ת×Ô£ºhttp://www.w3school.com.cn/xml/xml_syntax.asp
XML µÄÓï·¨¹æÔòºÜ¼òµ¥£¬ÇÒºÜÓÐÂß¼­¡£ÕâЩ¹æÔòºÜÈÝÒ×ѧϰ£¬Ò²ºÜÈÝÒ×ʹÓá£
ËùÓÐ XML ÔªËØ¶¼ÐëÓйرձêÇ©
ÔÚ HTML£¬¾­³£»á¿´µ½Ã»ÓйرձêÇ©µÄÔªËØ£º
<p>This is a paragraph
<p>This is another paragraph
ÔÚ XML ÖУ¬Ê¡ÂԹرձêÇ©ÊÇ·Ç·¨µÄ¡£ËùÓÐÔª ......

VC²Ù×÷XML±à³ÌʵÀý

ת×Ô£ºhttp://www.cnblogs.com/sadier/articles/99875.html
ÎÄÕÂÕýÎÄ
 
ǰ¶Îʱ¼ä£¬ÓÉÓÚ¹¤×÷µÄÐèÒª£¬ÀûÓõ½ÁËXML£¬ËùÒÔ¶ÔÆä½øÐÐÁËһЩ¼òµ¥µÄÑо¿¡£ÔÚ´ËÔ¸°ÑһЩÐĵÃд³öÀ´£¬Óë¸÷λ·ÖÏí£¬²»¶ÔµÄµØ·½»¹Íû¶à¶à°üº­¡£ 
1.ʲôÊÇ XML? 
Ê×ÏÈ£¬ÎÒÏë¸÷λӦ¸Ã¶¼ÒѾ­´ó¸ÅÖªµÀʲôÊÇXMLÁË¡£Èç¹û£¬Äã¶Ôʲà ......

vcʵÏÖxmlµÄ²Ù×÷


<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:PMingLiU;
panos ......

¶ÁÈ¡xml²¢°ó¶¨gridview

<?xml version="1.0" encoding="utf-8" ?>
<ExamPaper Name="ÎҵĵÚÒ»ÆÚÊÔ¾í" BeginDate="2009-3-4" EndDate="2009-12-30" Scort="150" UserTime="100" FK_UserType="1" FK_AdminUser="1">
<Question PKID= ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ