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

ÓÃDOM´´½¨XMLÎĵµ - Web ¿ª·¢ / JavaScript

ÀûÓÃDOM´´½¨ÈçϽṹµÄXMLÎĵµ£¬ÎļþÃûΪstu_data.xml¡£Æä´óÖÂÎĵµ½á¹¹ÈçÏ£º
<?xml version="1.0" encoding="gb2312"?>
<ѧÉú×÷ÒµÁбí>
  <ѧÉú id="001">
  <ÐÕÃû>ÕÅÎÞ¼É</ÐÕÃû>
<ѧºÅ>2007213101</ѧºÅ>
<°à¼¶>ÐÅÏ¢¹ÜÀí°à</°à¼¶>
  <¿Î³ÌÃû³Æ>XMLÓïÑÔ³ÌÐòÉè¼Æ</¿Î³ÌÃû³Æ>
  <Åú´Î>6</Åú´Î>
  <×÷ÒµÄÚÈÝ><![CDATA[data]]></×÷ÒµÄÚÈÝ>
  </ѧÉú>
</ѧÉú×÷ÒµÁбí>

¹òÇó¸÷λ¸ßÊÖ°ïæ
DOMûÓÐȨÏÞдÈëÎļþ£¬ÐèҪʹÓ÷þÎñÆ÷ÓïÑÔ

¿´Ò»ÏÂapi¾Í¸ã¶¨ÁË

js Ö»Òª¶ÁµÄȨÏÞ£¬¶ÔÓÚÐÞ¸ÄÎļþÊDz»¿ÉÒÔµÄ

ÒýÓÃ
DOMûÓÐȨÏÞдÈëÎļþ£¬ÐèҪʹÓ÷þÎñÆ÷ÓïÑÔ


²»ÔõôÄÜÀí½â,Äܲ»ÄܽâÊÍÇå³þÒ»µã,ÎÒÊÇjspÉúÊÖ,Ò²ÊÇxml²ËÄñ

http://www.javanb.com/javascript/1/5682.html



ÀíÂÛÉÏÊÇ¿ÉÐУ¬µ«ÊÇʵ¼ÊÓÃJSÈ¥²Ù×÷µÄʱºò£¬»á³öÏÖÒ»¸ö´íÎó£ºÃ»ÓÐȨÏÞ£¡ÎÒÊÔ¹ýºÜ¶à´ÎÁË£¡Ô­ÒòºÜ¼òµ¥£¬¿Í»§¶Ë²»ÄÜÓµÓÐÕâÖÖȨÀû£¬Èç¹ûÓУ¬ÄÇô·þÎñÆ÷¶ËµÄXML×öµÄÁôÑÔ±¾£¬ÄDz»ÊÇË­¶¼¿ÉÒÔÓÿͻ§¶ËÈ¥¸ÄдÁËÂð£¿
  ×ܽ᣺д£ºÒ»¶¨ÒªÓ÷þÎñÆ÷¶Ë½Å±¾ÓïÑÔASP£¬JSP£¬PHPµÈµÈ²ÅÄÜдÕâ¸öXML¡£
  ¶Á£ºÄǾͶàÁË£¬Ö»ÒªÊǽű¾¾Í¿ÉÒÔÁË£¡

ÒýÓÃ
ÀíÂÛÉÏÊÇ¿ÉÐУ¬µ«ÊÇʵ¼ÊÓÃJSÈ¥²Ù×÷µÄʱºò£¬»á³öÏÖÒ»¸ö´íÎó£ºÃ»ÓÐȨÏÞ£¡ÎÒÊÔ¹ýºÜ¶à´ÎÁË£¡Ô­ÒòºÜ¼òµ¥£¬¿Í»§¶Ë²»ÄÜÓµÓÐÕâÖÖȨÀû£¬Èç¹ûÓУ¬ÄÇô·


Ïà¹ØÎÊ´ð£º

java xmlÎÄÌâ - Java / Java SE

<?xml version="1.0" encoding="utf-8" ?> 
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical&q ......

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

SQL server·Ö½âXML - MS-SQL Server / Ó¦ÓÃʵÀý

ÏÂÃæÊÇXML³õʼÎļþÄÚÈÝ
XML code:
<upd:Update xmlns:lar="http://schemas.microsoft.com/msus/2002/12/LogicalApplicabilityRules" xmlns:cmd="http://schemas.microsoft.com/msus/2002/12/Up ......

c# ±éÀúxmlÎÊÌâ - .NET¼¼Êõ / C#

xmlÎļþ¸ñʽÈçÏÂ
XML code:

<?xml version="1.0" encoding="GB2312" ?>
<allproducts version="1.0">
<products>
<product name="prodId&quo ......

ÓйØphp soap wsdlµÄÎÊÌâ - Web ¿ª·¢ / XML/SOAP

zend studio for Eclipse½¨Á¢µÄÒ»¸öÏîÄ¿£¬½á¹¹È磺
Add.php:
PHP code:

<?php
class Add
{
/**
* Enter discription here...
* @param integer $x
* @param integer $y
* @ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ