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Îļ
Ïà¹ØÎÊ´ð£º
txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔÊý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......
ÎÒÊÇÏëÓÃPHP´ÓÊý¾Ý¿âÖжÁÈ¡Êý¾Ý£¬È»ºóдÈëxml£¬È»ºóFLASHÏÔʾXMLÖеÄÊý¾Ý
µ«ÊDZ¾µØ²âÊÔPHPÄܶÁ³öXML£¬´«µ½¿Õ¼äÀï¾Í¶Á²»³öÀ´ÁË£¬ÇëÎÊÔõô»ØÊÂ?
´íÎó´úÂëÈçÏÂ:
Fatal error: Cannot instantiate non-exis ......
°ïÎÒ¾À¸ö´í
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://your_namespace"
elementFormDefau ......
×¢£º
1.ÊÖ¶¯É¾³ýieÁÙʱÎļþºó¿ÉÒÔ»ñÈ¡ÐÂÊý¾Ý£»
2.Ë¢ÐÂÒ³Ãæ²»ÄÜ»ñÈ¡ÐÂÊý¾Ý£»
3.²»ÒªËµ¼ÓËæ»úÊýÔÚurlÉÏ£¬ÎÒ²»ÖªµÀ¾ßÌå¼ÓÔÚÄÄÀÎÒÂÒÊÔÁËÒ²»¹ÊDz»ÐУ»
4.Ï£ÍûµÃµ½µÄЧ¹ûÊǵã»÷¡°»ñÈ¡Êý¾Ý¡±ºó¿ÉÒÔÏÔʾxmlÀï ......
ÈçºÎÓÃc£«£«³ÌÐòÅжÏxmlÖи÷ÔªËصĺϷ¨ÐÔ£¬Õë¶Ô¸ñʽÉϵĺϷ¨ÐÔ£¬·µ»Ø0»òÕß1
ʹÓÃMSXML£¬¼ÓÔØXMLºó£¬Ê¹ÓÃvalidate·½·¨ÑéÖ¤
¾Ý˵ÄãÒªÔÚlinuxÏÂʹÓá£
linuxÏ¿ÉÒÔʹÓÃLibxml2À´²Ù×÷xml£¬Í¬ÑùÌṩÁËvalidateµÄ·½·¨ ......