Çë½ÌÒ»¸öXMLµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET
XML code:
<?xml version="1.0" encoding="utf-8" ?>
<rootNode name="Ê×Ò³" url="a.aspx">
<rootNode name="ÐÂÎÅ" url="b.aspx">
<rootNode name="¹úÄÚÐÂÎÅ" url="d.aspx"></rootNode>
<rootNode name="¹úÍâÐÂÎÅ" url="e.aspx"></rootNode>
</rootNode>
<rootNode name="²úÆ·" url="c.aspx" ></rootNode>
</rootNode>
XMLÎļþÈçÉÏËùʾ£¬ÈçºÎ¸ù¾ÝurlÊôÐÔ»ñÈ¡½Úµã£¿
±ÈÈç url="d.aspx" ÄÇ»ñÈ¡µÄ¾ÍÊÇ<rootNode name="¹úÄÚÐÂÎÅ" url="d.aspx"></rootNode>Õâ¸ö½Úµã
Õâ¸ö×îºÃÔÚrootNodeÀïÃæÔÙ¼ÓÒ»¸öÊôÐÔ£¬×¨Ãűê¼ÇÒ³ÃæÃû³Æ ±ÈÈç UrlId="d" ±íʾurlΪd.aspxµÄrootNode£¬ÕâÑù¾Í¿ÉÒÔ¸ù¾ÝUrlId²éÕÒÁË
Ïà¹ØÎÊ´ð£º
Private Sub Command1_Click()
Dim MyString() As String
Open "a.xml" For Binary As #1 ' ´ò¿ª¸Õ´´½¨µÄÎļþ¡£
ReDim MyString(LOF(1) - 1)
Put #1, , MyRecord ' ¶ÁÈëËùÓÐ×Ö·ûµ½±äÁ¿ÖÐ ......
ÎÒÓÐÒ»¸öÀàËÆµÄxmlµÄ string£¬Ïëͨ¹ý±éÀúÔõô¸öxml Êä³öÎÒÏëÒªµÄelementµÄÖµ
xml Ϊ£º
<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
<RequestType>DISCOVER_XML_ME ......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ãæ£¬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
ÎÒÓÃ.net¿ª·¢wapÍøÕ¾
1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£
2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£
¸úwapÓйØÂ𣿲»Ì«Ã÷°×
ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
¾Í ......
ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøÕ¾Í¼Æ¬¶¼Õ¼ÓÃÁËÒ»´ó°ë
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵
3Q´ó¼Ò
htmlÒ³Ãæ.
Õâ¸ö,¼ÈÈ»Ö÷Ò ......