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

C# ¶ÁÈ¡xmlÎļþÎÊÌâ ÔÚÏßµÈ - .NET¼¼Êõ / C#

<?xml version="1.0" encoding="utf-8" ?>
<Menu>
<Navigation text="Îļþ">
<Child text="н¨">
<Grandson>ÏîÄ¿</Grandson>
<Grandson>ÍøÕ¾</Grandson>
<Grandson text="Îļþ">
<Last>Îļþ1</Last>
<Last>Îļþ2</Last>
<Last>Îļþ3</Last>
</Grandson>
</Child>
<Child text="´ò¿ª">
<Grandson>ÏîÄ¿</Grandson>
<Grandson>Îļþ</Grandson>
</Child>
<Child text="Ìí¼Ó">
<Grandson>н¨ÏîÄ¿</Grandson>
<Grandson>н¨ÍøÕ¾</Grandson>
</Child>
</Navigation>
<Navigation text="±à¼­">
<Child>¼ôÇÐ</Child>
<Child>¸´ÖÆ</Child>
<Child>Õ³Ìù</Child>
</Navigation>
<Navigation>ÊÓͼ</Navigation>
<Navigation>ÍøÕ¾</Navigation>
</Menu>
ÕâÊÇÎÒµÄxmlÎļþ£¬ÎÒÏë×ö³É¶à¼¶µ¼º½²Ëµ¥£¬ÎÒÏëÏÈͨ¹ý³ÌÐòÕÒµ½µÚÒ»²ã²Ëµ¥£¬ÔÙÑ­»·ÕÒµ½ÊÇ·ñÓÐ×Ӳ˵¥£¬±¾È˶Ôxml²»ÊǺÜÁ˽⣬´ó¼Ò°ï°ïÎÒ°É£¬Ð»Ð»£¬ÔÚÏߵȣ¡£¡£¡
C# code:

XmlDocument xml = new XmlDocument();
xml.Load("XmlÎļþµØÖ·");

XmlN


Ïà¹ØÎÊ´ð£º

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 ' ¶ÁÈëËùÓÐ×Ö·ûµ½±äÁ¿ÖÐ ......

vb¶ÁÈ¡xml - VB / »ù´¡Àà

ÏÖÔÚÓиöxmlÎļþÊÇ<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xm ......

Ϊʲôxml²»ÄÜÏÔʾ°¢À­²®ÎÄ - C/C++ / C++ ÓïÑÔ

ΪʲôÎҵijÌÐòµ÷ÓÃXMLÅäÖÃÎļþÖеİ¢À­²®ÎÄÏÔʾ²»³öÀ´£¿ÆäËûµÄÓïÖÖ¶¼¿ÉÒÔ£¬ÈçÖÐÎÄ£¬Ó¢ÎÄ£¬µÂÎͼ¿É¡£
ÎÒ½«XMLµÄ±àÂë¸ÄΪutf-8ºÍunicodeµÄµ½µÃ½á¹û¶¼Ò»Ñù.
°¢À­²®ÎĵÄ×Ö¿âÄãÓÐô£¿

ÓÐ,ÎÒµÄEXEÊÇ·ÅÔÚpc»úÉÏÖ´Ðе ......

¿ÄÇóC/SÔ´Âë - Delphi / Êý¾Ý¿âÏà¹Ø

ÏÖÓÐparadoxÊý¾Ý¿âʹÓÃBDEÇý¶¯£¬Äâ¸ÄΪC/S°æ£¬Ôö¼ÓÍøÂç¶ÁÈ¡Êý¾Ý¹¦ÄÜ¡£ÇëÄÄλ´óÏÀ£¬ÌṩԴÂë¡£
˵¾ä²»¿ÍÆøµÄ»°£¬ÓÃparadox×öC/SÊÇ×ÔѰËÀ·¡£
»»Ò»¸öÍøÂçÊý¾Ý¿â

ÒòΪ²»Ï붯´óÊÖÊõ£¬½öÄܹ²Ïí¼¸¸öÎļþ¼´¿É¡£

Da ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ