xmlÎļþÔõôÒýÈëµ½Ò³Ã棬ÔõôÌí¼ÓÁ¬½Ó¡£
<?xml version="1.0" encoding="gb2312"?>
<!DOCTYPE treeview SYSTEM "treeview.dtd">
<?xml-stylesheet type="text/xsl" href="treeview.xslt"?>
<treeview title="ÏîÄ¿ÐͺŹÜÀí" treeViewJsFile="treeview.js " cssFile="treeview.css " jsFile="script.js" imgPath="Icon">
<folder checkbox="false" title="ȨÏÞ¹ÜÀí" img="folder.gif" code="1" expanded="false" >
<folder checkbox="false" title="Óû§¹ÜÀí" code="3" img="folder.gif">
<leaf checkbox="false" title="Ìí¼ÓÓû§" code="7" img="leaf.gif" />
<leaf checkbox="false" title="²éѯÓû§" code="8" img="leaf.gif" />
</folder>
<folder checkbox="false" title="½ÅÉ«¹ÜÀí" img="folder.gif" code="1" expanded="false" >
<leaf checkbox="false" title="Ìí¼Ó½ÅÉ«" code="4" img="leaf.gif" />
<leaf checkbox="false" title=" ²éѯ½ÅÉ«" code="5" img="leaf.gif" />
</folder>
</folder>
</treeview>
Õâ¸öÊÇxmlÎļ
Ïà¹ØÎÊ´ð£º
ÎÒÊÇÀûÓÃaxiom¶Ôxml½øÐнâÎö£¡
µ«È´³öÏÖÏÂÃæµÄ´íÎó£¡
Exception in thread "main" org.apache.axiom.om.OMException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxUnexpectedCharEx ......
XML¶ÔÏóÓëXMLList¶ÔÏóÓÐʲôÇø±ð£¿[
¹ËÃû˼Ò壬XMLList¾ÍÊÇÒ»¸öLIST£¬ÊÇÒ»¸ö¼¯ºÏ¡£
List °üº¬XMLÖеÄËùÓÐÔªËØ£¬ÓÃList¿ÉÒÔ·ÃÎÊXML¸ùÔªËØϵÄ×ÓÔªËØ
ÒýÓÃ
List °üº¬XMLÖеÄËùÓÐÔªËØ£¬ÓÃList¿ÉÒÔ·ÃÎÊXML¸ùÔª ......
ÎÒÊÇÏëÓÃPHP´ÓÊý¾Ý¿âÖжÁÈ¡Êý¾Ý£¬È»ºóдÈëxml£¬È»ºóFLASHÏÔʾXMLÖеÄÊý¾Ý
µ«ÊDZ¾µØ²âÊÔPHPÄܶÁ³öXML£¬´«µ½¿Õ¼äÀï¾Í¶Á²»³öÀ´ÁË£¬ÇëÎÊÔõô»ØÊÂ?
´íÎó´úÂëÈçÏÂ:
Fatal error: Cannot instantiate non-exis ......
RT
ÓÐûÓÐÔ´ÂëʵÀý£¡
лл£¡
²»ÊÇÓÐdom4jÕâÑùµÄ½âÎöxmlÎļþµÄ°üô ¸ÉÂï·ÇÒªÓÃÕýÔò£¿
Êܲ»ÁË£¡
òËƲ»ÐаÉ
ÓУ¬ºÃ¼¸¸öÄØ£¬DOM,jdom£¬dom4j¡£¡£
¹þ¹þ£¡
ÓÉÓÚÎÒµÄxml±àÂë¸ñʽÓеãÎÊÌ⣬² ......
HTML code:
<div id="tessx">
<ALEXA VER="0.9" URL="163.com/" HOME="0" AID="=">
<RLS PREFIX="http://" more="79" ......