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

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Îļ


Ïà¹ØÎÊ´ð£º

C# DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí

DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
      <B>
        <C>
        </C>
  &nb ......

100·ÖÇóÖúJSµÄ½âÎöÒ»¶ÎXML,NETBOX·â×°³ö´í¡£¡£¡£¡£¡£

ÒÔÏ´úÂëÔÚIEÏÂÊÇ¿ÉÒÔÕý³££¬µ«ÊÇÓÃNETBOX·â×°¾Í²»ÐÐÁË£¬ÔËÐе½ºìÉ«µÄµØ·½¾Í³ö´íÁË£¬ËµÈ±ÉÙ¶ÔÏñ£¬ÇëÎÊÔõôÑùÐ޸ġ£


JScript code:

//////////////////// AJAXÀà////////////////
function getxml ......

Çë½ÌÒ»¸ö¹ØÓÚXML¶ÁдµÄÎÊÌ⣿

ÏëÖªµÀÓÃdataset¶ÁдXMLÊÇÔõô°ìµ½µÄ£¬¶øÇÒÔõô´æÈëÊý¾Ý¿â£¿
ÓÃXML¶ÁдÓÖÔõôÄÜʵÏÖ£¿
Çë¸÷λ´óϺ°ï¸öæ~~~£¡
DataSet set = new DataSet();
set.ReadXml()

set.WriteXml

public static DataSet Con ......

ÈçºÎ¸üºÃµØÓ¦¶ÔÕâÖÖ XML¸ñʽ

XMLÈç
XML code:

<? xml version="1.0" ?>
<root>
<P>PÎı¾
<c1>c1±êÌâ<c1/>
<c1>c2±êÌâ<c1/>
</P>
</root>

......

jquery ¶ÁÈ¡XML£¿

HTML code:

<div id="tessx">
<ALEXA VER="0.9" URL="163.com/" HOME="0" AID="=">
<RLS PREFIX="http://" more="79" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ