ASPÉú³ÉXML¸ñʽÎÊÌ⣡
´úÂëÈçÏÂÄÜÉú³ÉÕýÈ·µÄXML¸ñʽ¡£
µ«ÊÇÈç¹û°ÑÆäÖеÄÒ»¾ä´úÂëtaste.Text = "4444"È¥µô£¬Éú³ÉµÄXML¸ñʽ¾Í±äÁË¡£ÔÚtasteÕâÒ»¸ö½ÚµãÓÉ <taste>4444 </taste>±ä³ÉÁË <taste />,ÊÇʲôÔÒòµ¼ÖµÄÄØ(ÒòΪûÓÐÖµ¶øÒýÆðµÄÂð?)Ôõô½â¾öÕâÖÖ¸ñʽ±ä³ÉΪ <taste> </taste>
Çë¸ßÊÖ½â¾ö!
<%
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
xmlFile = server.MapPath("fooddata.xml")
'xmlÎļþ²»´æÔÚ µÚÒ»´ÎÌí¼Ó²Ë
if not objFSO.FileExists(xmlFile) then
'´´½¨XMLÎĵµ
Set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
'´´½¨¸ùÔªËØ²¢½«Ö®¼ÓÈëÎĵµ
Set fooddata = xmlDoc.createElement("fooddata")
xmlDoc.appendChild fooddata
'´´½¨²¢¼ÓÈë×ÓÔªËØ
Set food_type = xmlDoc.createElement("food_type")
Set tp = xmlDoc.createElement("type")
tp.Text = "1111"
Set food_namelist = xmlDoc.cre
Ïà¹ØÎÊ´ð£º
<%@language="vbscript"%>
<%option explicit%>
<html>
<head> <title>xxx </title> </head>
<script language=vbs>
'×¢Òâ±äÁ¿ ......
<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......
Îļþ£ºfolder.inc
HTML code:
<%
Dim folderini,pos,pageName
fPath = Request.ServerVariables("PATH_TRANSLATED")
pos = instrRev(fPath,"\")
folderini = Left(fPath,pos)+&qu ......
ÎÒÏëÓÃaspд¸öÒ³ÃæÒÔǰûÓнӴ¥¹ý£¬ÎÒ¿´ÍøÉÏ˵aspµÄÔËÐл·¾³Ö»ÄÜÊÇwindows£¬»¹±ØÐëҪװIIS¡£
Çë½Ì¸÷λ¸ßÊÖ£¬asp»¹ÓÐÆäËûµÄÔËÐл·¾³Âð?
²î²»¶à¾ÍÕâЩÁË£¬¾ÍÊÇIISÒ»¶¨Òª×°ºÃ
»¹ÓÐÒªÊÇÓÃVS2005µÄ»°ºÃÏñ¿ÉÒÔÖ±½ÓÔ ......
ÓÐÄÄλ¸ßÊÖÓùýASP FCKÔÚÏß±à¼Æ÷ѽ£¬ËüÄǸöͼƬÉÏ´«¹¦ÄÜÔõôÅäÖÃѽ
ÄܸøÎÒ·¢¸öÄÜÓÃFCKÔÚÏß±à¼Âð£¿Ò»¶¨ÄÜÉÏ´«Í¼Æ¬¹¦ÄܵÄѽ£¬¼±Ñ½
Ö±½Óµ½¹Ù·½ÍøÕ¾È¥Ï¸ö¾Í¿ÉÒÔÁË£¬¹ØÓÚÉèÖÃô£¬Ö±½ÓGOOGLEÒ»ÏÂÄãµÄ°æ±¾ºÅ¾Í¿ÉÒÔÕÒµ ......