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

dom4j(XMLµÄ½âÎö)

1£®   ÏÂÔØÓë°²×°  
   
     
   
  dom4jÊÇsourceforge.netÉϵÄÒ»¸ö¿ªÔ´ÏîÄ¿£¬Ö÷ÒªÓÃÓÚ¶ÔXMLµÄ½âÎö¡£´Ó2001Äê7Ô·¢²¼µÚÒ»°æÒÔÀ´£¬ÒѽÐøÍƳö¶à¸ö°æ±¾£¬Ä¿Ç°×î¸ß°æ±¾Îª1.5¡£  
   
  dom4jרÃÅÕë¶ÔJava¿ª·¢£¬Ê¹ÓÃÆðÀ´·Ç³£¼òµ¥¡¢Ö±¹Û£¬ÔÚJava½ç£¬dom4jÕýѸËÙÆÕ¼°¡£  
   
     
   
  ¿ÉÒÔµ½http://sourceforge.net/projects/dom4jÏÂÔØÆä×îа档  
   
     
   
  dom4j1.5µÄÍêÕû°æ´óÔ¼13M£¬ÊÇÒ»¸öÃûΪdom4j-1.5.zipµÄѹËõ°ü£¬½âѹºóÓÐÒ»¸ödom4j-1.5.jarÎļþ£¬Õâ¾ÍÊÇÓ¦ÓÃʱÐèÒªÒýÈëµÄÀà°ü£¬ÁíÍ⻹ÓÐÒ»¸öjaxen-1.1-beta-4.jarÎļþ£¬Ò»°ãÒ²ÐèÒªÒýÈ룬·ñÔòÖ´ÐÐʱ¿ÉÄÜÅ×java.lang.NoClassDefFoundError:   org/jaxen/JaxenExceptionÒì³££¬ÆäËûµÄ°ü¿ÉÒÔÑ¡ÔñÓÃÖ®¡£  
   
     
   
  2£®   ʾÀýXMLÎĵµ£¨holen.xml£©  
   
     
   
  ΪÁËÊö˵·½±ã£¬ÏÈ¿´Ò»¸öXMLÎĵµ£¬Ö®ºóµÄ²Ù×÷¾ùÒÔ´ËÎĵµÎª»ù´¡¡£  
   
     
   
  holen.xml  
     
  <?xml   version="1.0"   encoding="UTF-8"?>  
   
  <books>  
   
                <!--This   is   a   test   for   dom4j,   holen,   2004.9.11-->  
   
                <book   show="yes">  
   
                              <title>Dom4j   Tutorials</title>  
   
                </book>  
   
                <book   show="yes">  
   
     


Ïà¹ØÎĵµ£º

JavaÖÐËÄÖÖXML½âÎö¼¼Êõ

DOMÊÇ»ùÓÚƽ̨¡¢ÓïÑÔÎ޹صĹٷ½W3C±ê×¼¡£»ùÓÚÊ÷µÄ²ã´Î£¬ÆäÓŵãÊÇ¿ÉÒÔÒÆÖ²£¬±à³ÌÈÝÒ×£¬¿ª·¢ÈËÔ±Ö»ÐèÒªµ÷Óý¨Ê÷µÄÖ¸Áî¡£ÆäȱµãÊǼÓÔØ´óÎļþ²»ÀíÏë¡£
¡¡¡¡SAXÊÇ»ùÓÚʼþÄ£Ð͵ģ¬ËüÔÚ½âÎö XML ÎĵµµÄʱºò¿ÉÒÔ´¥·¢Ò»ÏµÁеÄʼþ£¬µ±·¢ÏÖ¸ø¶¨µÄtagµÄʱºò£¬Ëü¿ÉÒÔ¼¤»îÒ»¸ö»Øµ÷·½·¨£¬¸æË߸÷½·¨Öƶ¨µÄ±êÇ©ÒѾ­ÕÒµ½¡£ÀàËÆÓëÁ÷ýÌåµÄ½ ......

»ùÓÚXMLµÄWeb·Ö²¼Ê½Êý¾Ý½»»»¼¼Êõ

Ò»¡¢WDDXµÄ²úÉú
    WDDX£¬Ó¢ÎÄÈ«³ÆΪWeb Distributed Data
Exchange£¬ÊÇÒ»ÖÖ»ùÓÚXMLµÄWeb·Ö²¼Ê½Êý¾Ý½»»»¼¼Êõ¡£WDDX×îÔçÊÇÃÀ¹úAllaire¹«Ë¾µÄ³ÌÐò¼¼ÊõÉè¼ÆʦSimeon
SimeonovΪÁ˽â¾öColdFusionÖÐÉæ¼°µ½µÄ·Ö²¼¼ÆËãÎÊÌâ¶ø½¨Á¢µÄ¡£Ëæ׏¤×÷µÄ¿ªÕ¹£¬WDDXÖð½¥Ñݱä³ÉΪһÖÖ¿ÉÓÃÓÚ²»Í¬µÄÓ¦Óû·¾³Öн»»»¸´ÔӵĽṹ ......

.NET SQLServer2005 XML×Ö¶Î

//ÕâÊÇÌí¼Ó 
private void button1_Click(object sender, EventArgs e)
        {
            string s = "Persist Security Info=False;Integrated Security=SSPI;database=IIntegration;server=(local)";
 &n ......

JavaÓëXMLÁªºÏ±à³ÌÖ®SAXƪ

ת×Ôhttp://www0.ccidnet.com/tech/guide/2001/10/08/58_3392.html
SAX¸ÅÄî
SAXÊÇSimple API for XMLµÄËõд£¬Ëü²¢²»ÊÇÓÉW3C¹Ù·½ËùÌá³öµÄ±ê×¼£¬¿ÉÒÔ˵ÊÇ“Ãñ¼ä”µÄÊÂʵ±ê×¼¡£Êµ¼ÊÉÏ£¬ËüÊÇÒ»ÖÖÉçÇøÐÔÖʵÄÌÖÂÛ²úÎï¡£ËäÈ»Èç´Ë£¬ÔÚXMLÖжÔSAXµÄÓ¦ÓÃË¿ºÁ²»±ÈDOMÉÙ£¬¼¸ºõËùÓеÄXML½âÎöÆ÷¶¼»áÖ§³ÖËü¡£
ÓëDOM±È½Ï¶øÑÔ ......

ÓÃjquery½âÎöxmlÎļþ

²âÊÔÓõÄxmlÎļþ
<?xml version="1.0" encoding="UTF-8"?>
<schools>
<school id='111'>²âÊÔѧУ</school>
<school id='222'>²âÊÔѧУ22
<class id='2.1'>²âÊ԰༶222</class>
</school>
</schools> 
²âÊÔÓõÄJavaScript´úÂë
$().ready(function ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ