Saves an XML document to the specified location
来源:互联网 发布:v380监控软件下载苹果 编辑:程序博客网 时间:2024/05/01 21:38
Saves an XML document to the specified location
JScript
oXMLDOMDocument.save(destination);
Object Description
string
Specifies the file name. This must be a file name rather than a URL. The file is created, if necessary, and the contents are replaced entirely with the contents of the saved document. This mode is not intended for use from a secure client, such as Microsoft Internet Explorer.
Copy Code
dim xmldoc
set xmldoc = Server.CreateObject("Msxml2.DOMDocument.3.0")
xmldoc.load("c:/myfile.xml")
xmldoc.save(Server.MapPath("sample.xml"))
The ASP Response object sends the document back to the client that invoked the ASP script.
Copy Code
dim xmldoc
set xmldoc = Server.CreateObject("Msxml2.DOMDocument.3.0")
xmldoc.load(Server.MapPath("sample.xml"))
xmldoc.save(Response)
IXMLDocument Object
Duplicates the original document. It is the equivalent of saving the document and reparsing it. The document goes through full persistence through XML markup, thereby testing the persistability of your XML document.
Copy Code
<script language="jscript">
var xmldoc1 = new ActiveXObject("Msxml2.DOMDocument.3.0");
var xmldoc2 = new ActiveXObject("Msxml2.DOMDocument.3.0");
xmldoc1.load("sample.xml");
xmldoc1.save(xmldoc2.XMLDocument);
</script>
- Saves an XML document to the specified location
- Serialization from an Object to XML Document in C#
- XmlSerialize error: There was an error generating the XML document.
- Add formatting to the cell in an Excel document
- Saves picture to database
- How to change the default location of the Office 2010 Document Cache
- F# create an XML document
- F# read an XML document
- unable to start program the specified file is an unrecognized or unsupported binary format
- document to xml string
- saves
- PHP - XML - Recursively process an XML document.
- dom4j:Adding text to an XML document must not be null
- Get ancestors list in an XML document
- Read an XML document with XMLlite
- Database Engine service could not resolve the specified file location
- How to Write an Effective Design Document
- Document Object To XML String
- 简单的几句Python语句,模拟《骇客帝国》中的滚屏
- 嵌入式开发-C语言面试题(一)
- servlet 实现 文件的上传与下载
- ORACLE LOGMINER
- jdom对xml文件的读写操作
- Saves an XML document to the specified location
- C++之智能指针
- Using ColdFusion components--properly
- Gridview & DetailView
- Oracle sqlplus prelim 参数介绍
- 网页 木马
- Hibernate级联操作Cascade
- Oracle Rman 命令详解
- javascript+ activex