Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
|
|
ASP Script to Delete XML RecordsASP script showing how to delete XML records. <%@ LANGUAGE="VBSCRIPT" %>
<%
response.ContentType = "text/xml"
' Create an XML parser object
set xml0 = Server.CreateObject("Chilkat.Xml")
' Returns the XML page as a Variant
set xml = xml0.HttpGet("http://www.xml-parser.com/companies.xml")
xml.FirstChild2
set microsoft = xml.FindNextRecord("name", "Microsoft*")
' The Microsoft record is now root itself.
microsoft.RemoveFromTree
' Save the XML with the Microsoft record removed.
xml.GetRoot2
response.write xml.GetXml()
%>
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.