ASPÈçºÎÉú³ÉXML - Web ¿ª·¢ / ASP
ÎÒÏëÓÃASPÉú³ÉÕâÑùµÄXML
<tiltviewergallery>
<photos>
<photo imageurl="imgs/1.jpg" linkurl="http://www.google.com">
<title>Image 1</title>
<description>ÎÒ°®ÄãÃÇ£¬¹þ¹þ</description>
</photo>
<photo imageurl="imgs/2.jpg" linkurl="http://www.google.com">
<title>Image 2</title>
<description>·Ç³£ºÃ</description>
</photo>
</photos>
</tiltviewergallery>
Ó¦¸ÃÔõô°ìÄØ£¬ÆäÖÐASPÊǶÁÈ¡Êý¾Ý¿âµÄ
ÕýºÃÓõÃÉÏ¡£
FSOд·ûºÏ¹æ·¶µÄXMLÎļþ
ÇëÎÊ hookee£¬Ïë°ÑÉú³ÉµÄXML´æ·ÅÔÚ¸ùĿ¼ÏÂÓ¦¸ÃÔõôŪ£¬Ð»Ð»£¡
ллhookee»Ø¸´ÁË£¬ÔËÐÐÁËÒ»ÏÂÊÇ¿ÉÒÔÔËÐеģ¬µ«ÊÇ»áÔÚµ±Ç°Ò³Ãæ´ò¿ªÕâ¸öXMLÎļþ£¬
ÎÒÏ£ÍûµÄÊÇÄܹ»Éú³ÉÒ»¸öXMLÎļþ²¢ÇÒ±£´æÔÚ¸ùĿ¼ÏÂ
»¹ÓиöÎÊÌâ¾ÍÊÇ£¬Èç¹ûÊý¾Ý¿âÖÐÖÐʽÖÐÎĵľÍÏÔʾ²»³öÀ´£¬Èç¹ûÊÇÊý×Ö»òÕß×Öĸ¾Í¿ÉÒÔ¡£
лл£¡
oDoc.scave "c:\xxx\xxx.xml"
// ÕâÀïÊÇÉú³ÉµÄÎļþ´æ·ÅµÄ·¾¶£¬¸Ä³ÉÄãÏë´æ·ÅµÄµØ·½¾ÍÐÐÁË
Response.Write oDoc.xml //°ÑÕâ¾ä×¢ÊÍ»òÕßɾ³ýµ÷£¬¾Í²»»áÔÚµ±Ç°Ò³´ò¿ªÁË¡£
³ÌÐòµÄ×îÉÏÃæ¼ÓÉÏÕâ¾ä£º
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
×îÏÂÃæÔö¼ÓÕâ¾ä
Response.Charset £½ ¡°GB2312¡±
Õâ¸öÎÊÌâ×î¼òµ¥µÄ¾ÍÊÇÓÃFS
Ïà¹ØÎÊ´ð£º
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ã棬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......
¹ØÓÚÍøÕ¾°²È«µÄÎÊÌ⣡
ÎÒÁ˽⵽µÄÍøÕ¾°²È«ÎÊÌâ°üÀ¨£º
sql×¢È멶´ºÍ±©¿â©¶´»¹ÓÐÉÏ´«Â©¶´
³ýÁËÕâЩ»¹ÓÐÆäËûµÄ©¶´Ã´£¿
×¢È멶´¿ÉÒÔͨ¹ý¹ýÂËÀ´·ÀÖ¹
±©¿â©¶´Ôõô·ÀÖ¹
»¹ÓÐÈËÉÏ´«µÄľÂíÊÇ.gif
ÕâÖÖ©¶´Ôõôȥ± ......
O O O O O O
|.......| |........| |.......|
| | |
O O ......