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

flash ¶ÁÈ¡ xmlÖÐÄÚÈÝ

<?xml version="1.0" 

encoding="utf-8"?>£¨×¢ÊÍ£º×îºÃʹÓÃutf-8±àÂ룩

<¸ñʽ1>

<¸ñʽ2>

<·ÖÖ§ name="²âÊÔ"/>

</¸ñʽ2>

</¸ñʽ1>

(×¢Ò⣺xmlÊDZê¼ÇÓïÑÔ¡£±ê¼Ç¶¼¿ÉÒÔ×Ô¼º¶¨Òå)

ÄÇflashÊÇÔõô¶ÁÈ¡xmlÄØ£¿£¿

ÏÈÓÃflash¼¸¸öº¯ÊýÀ´µ÷ÓÃxml



new XML()²ÎÊýÓÃÀ´µ÷ÓÃxml

my_xml.load(url)²ÎÊýurl Òª¼ÓÔØµÄ XML ÎĵµËùλÓڵĠ

URL¡£

my_sound.onLoad = function(success){

// ´Ë´¦ÊÇÄúµÄÓï¾ä

}

²ÎÊýsuccess Èç¹û my_sound Òѳɹ¦¼ÓÔØ£¬ÔòΪ²¼¶ûÖµ true£¬·ñÔòΪ false¡£

¼ÓÔØxmlµÄÓï¾ä¾ÍÕâЩÁ˺ǺÇ~~¿ÉÊÇÔõô¶ÁÈ¡xmlÄÚµÄÊý¾ÝÄØ~~~~~~

Ò»°ãÓõ½£º

my_xml.childNodes²ÎÊýÎÞ¡£·µ»ØÒ»¸öÊý×é¡£

˵Ã÷ÊôÐÔ£¨Ö»¶Á£©£»Ö¸¶¨ XML ¶ÔÏóµÄ×Ó¼¶×é³ÉµÄÊý×é¡£

my_xml.attributes²ÎÊýÎÞ¡£

·µ»ØÒ»¸öÊý×顣˵Ã÷ÊôÐÔ£»Ò»¸ö°üº¬Ö¸¶¨ XML ¶ÔÏóµÄËùÓÐÊôÐԵĹØÁªÊý×é¡£

my_xml.nodeName˵Ã÷ÊôÐÔ£»XML ¶ÔÏóµÄ½ÚµãÃû³Æ¡£

my_xml.firstChild˵Ã÷ÊôÐÔ£¨Ö»¶Á£©£»¼ÆËãÖ¸¶¨µÄ XML 

¶ÔÏ󣬲¢ÒýÓø¸¼¶½ÚµãµÄ×Ó¼¶ÁбíÖеĵÚÒ»¸ö×Ó¼¶¡£

ιιÄãÕâÉÏÃæдЩµÄʲô¶«Î÷~~~~~~ÎÒÔõô¿´²»´óÃ÷°×µ½µ×ÔõôÓð¡~~~£¨ÅÔ°×£©¶÷ºÃ

µÄÕâÀïÎÒд¸öÀý×Ó¸øÄã¿´~~~~~~



Àý×Ó£º
ÎÒÉÏÃæ²»ÊÇдÁËÒ»¸öxmlÄØ£¨Ôڼӵ㶫Î÷£©¡£
<?xml version="1.0" encoding="utf-8"?>
<¸ñʽ1 name="²âÊÔ&qu


Ïà¹ØÎÊ´ð£º

ÈçºÎÌá½»xmlÀàÐÍÊý¾Ý - .NET¼¼Êõ / ASP.NET

Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
  <a>aaa
  </a>
  <b>bbb
  </b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......

Êý¾ÝÒÔ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& ......

JQUERY Êä³öXML Ôõôд - .NET¼¼Êõ / C#

ÎÒÏÖÔÚÓÐÒ»¸öXML¶ÔÏó
var merxml 
merxml ±£´æµÄÄÚÈÝ ÊÇ
<root>
<a>a</a>
<b>b</b>
</root>
ÎÒÏÖÔÚµÄÄ¿µÄÊÇÒª°Ñ merxml Õâ¸öXML¶ÔÏó ÍêÕûµÄÊä³öµ½Ò»¸öÎı¾¿ò tx ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ