Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......

C# DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí

DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
      <B>
        <C>
        </C>
  &nb ......

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ºÅ