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

ÈçºÎ»ñÈ¡ XML ÖеÄÊý¾Ý

    ÏÖÔÚÔÚдһ¸öÓйØÑéÖ¤µÄ¶«Î÷£¬µ«ÊÇ´Óû½Ó´¥¹ý¡£Ï£Íû¸ßÈËÖ¸µã£¡£¡£¡

    ÑéÖ¤¹ý³ÌÀàËÆºÆ·½Æ½Ì¨µÄµÇ¼¹ý³Ì¡£¼°Óû§ÊäÈëÕ˺š¢ÃÜÂëºóµã»÷µÇ¼¡£È»ºóƽ̨ÑéÖ¤¡£È»ºó·µ»Ø½á¹û£¨ÒÔ XML ÐÎʽ·µ»Ø£©¡£È磺
XML code:

<?xml version='1.0' encoding='gb2312'?>
<table>
<head code='1'/>
<row numberCode='100001' newToken='1' ageFlag='1'/>
</table>


    ÄÇôÎÒ¸ÃÔõôÔÚ³ÌÐòÀïÃæ»ñÈ¡numberCode¡¢newToken¡¢ageFlagÄØ£¿


Ëæ±ãʲôxml½âÎö¿â¶¼¿ÉÒÔ

΢ÈíµÄmsxml£¬ »òÕ߯äËû¿çƽ̨µÄÈçexpatµÈ

ÓÃ×Ô´øµÄMSXML¾Í¹»ÁË£¬CMarkUpÒ²¿ÉÒÔ³¢ÊÔ£¬²»¹ýÈç¹û¾ÍÕâôµãXMLµÄ»°£¬Ó¦¸ÃÓò»µ½

ÕâÊÇÒ»¸öÀý×Ó ²Î¿¼

    ÕâЩÎÒ¶¼¿´ÁË  µ«ÊÇÏÖÔÚÓÐÒ»¸öÎÊÌâ  ¾ÍÊÇÎÒ°Ñ
C/C++ code:

<?xml version='1.0' encoding='gb2312'?>
<table>
<head code='1'/>
<row numberCode='100001' newToken='1' ageFlag='1'/>
</table>


    ·Åµ½Ò»¸ö×Ö·ûÊý×éÖУ¬¿ÉÊÇÓÃLoadXML()È´ÔõôҲ¼ÓÔØ²»ÁË£¿£¿£¿

´úÂëÈçÏ£º
C/C++ code:

#import <msxml4.dll>
#include <string>
#inclu


Ïà¹ØÎÊ´ð£º

ÈçºÎ½«XMLÊý¾Ý´æÈëACCESSÊý¾Ý¿â

ÇëÎʸ÷λ´óʦ£¬ÎÒÏÖÔÚÐèÒª½«XMLµÄÊý¾ÝʵʱµÄ´æÈëµ½Êý¾Ý¿âÖУ¬ÎÒÊÇÓÃasp±àµÄ³ÌÐò£¬´óÁ¿Ãǰïæ·ÖÎö һϣ¡£¡£¡
ÏÂÃæÊÇÎÒµÄXMLÎļþ´úÂë
XML code:

<?xml version="1.0" encoding="utf-8"? ......

javascript ÈçºÎÔÚ±¾µØ´´½¨¶ÁдxmlÎļþ£¿

ÐèÒª¼æÈÝie firefox safari µÈä¯ÀÀÆ÷
IE ¿ÉÒÔÓÃFSO µ«ÊÇÔÚÆäËûä¯ÀÀÆ÷²»ÄÜÓÃ
Ò»°ãµÄä¯ÀÀÆ÷´¦ÓÚ°²È«¿¼ÂǶ¼²»ÔÊÐíJavaScript¶Áд±¾µØÎļþµÄ°É

XMLÎĵµÄÚÈÝÈçÏ£¨user.xml£©£º
<?xml version="1.0&qu ......

FlashÖеÄXML¶ÔÏóµÄÊôÐÔÎÊÌâ

ÔÚ¿´Ò»¶ÎAS´úÂëʱÓöµ½¼¸¸öÒÉÎÊ¡£
ÔÚFlashÖеÄXML¶ÔÏóÃ²ËÆÓÐÒ»¸öchildÊôÐÔ
ÇëÎÊ
1.childÊôÐÔºÍchildNodesÓÐÊ²Ã´Çø±ð£¿
2.ASÖÐÓÐintÊý¾ÝÀàÐÍÂð£¿AS3.0ÖÐÓÐÂð£¿
´úÂëÖÐÓõ½ÁË´ËÀàÐÍ¡£
3._name¡¢_pare ......

Ôõô°Ñ¿Í»§¶Ë´Ówebservice»ñµÃµÄxmlת»»³Érecordset£¿

ÈçÌâ¡£
webServiceµÄº¯ÊýÈçÏ£º
VB.NET code:

Public Function RecordSetBySql(ByVal Sql As String) As XmlDataDocument
Dim xRs As ADODB.Recordset
Dim cmd As ADODB.Command
......

ÕýÔò±í´ïʽ½âÎöxml£¿

RT
ÓÐûÓÐÔ´ÂëʵÀý£¡
лл£¡
²»ÊÇÓÐdom4jÕâÑùµÄ½âÎöxmlÎļþµÄ°üô ¸ÉÂï·ÇÒªÓÃÕýÔò£¿

Êܲ»ÁË£¡

Ã²ËÆ²»ÐаÉ



ÓУ¬ºÃ¼¸¸öÄØ£¬DOM,jdom£¬dom4j¡£¡£
¹þ¹þ£¡

ÓÉÓÚÎÒµÄxml±àÂë¸ñʽÓеãÎÊÌ⣬² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ