<SCRIPT LANGUAGE=javascript RUNAT=Server>// ************************************************************************ // Script Compont Object Model// Design for Active Server Pages//// Copyright 2003 Version 1.0// Made by yinshuguang// *******
<Script language="vbscript" runat="server">'****************************************************************' Script Compont Object Model' Design for Active Server Pages' Copyright 2004 Version 2.0' Made by 尹曙光' *******************************
PageNavigater 2.0Sinoprise Technology StudioCopyright (c) 2008 Kevin Yinhttp://www.sinoprise.cnhttp://www.sinoprise.comThis script can be used freely as long as all copyright messages are intact. //=====================================
using System.Xml;//初始化一個xml執行個體XmlDocument xml=new XmlDocument();//匯入指定xml檔案xml.Load(path);xml.Load(HttpContext.Current.Server.MapPath("../7in10.xml"));//指定一個節點XmlNode root=xml.SelectSingleNode("/root");//擷取節點下所有直接子節點XmlNodeList
ASP打包成XmlPack.asp <% Dim ZipPathDir,ZipPathFile Dim startime,endtime Dim FilePath,DirPath '在此更改要打包檔案夾的路徑 ZipPathDir = "I:/備份檔案/MySite/pzwx.cn/html/html" '這是要打包成的XML檔案名稱 ZipPathFile = "Player.xml" if right(ZipPathDir,1)<>"/" then ZipPathDir=