ASP Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

ASP Examples

ASP String
ASP Byte Array
Bounced Mail
Bz2
Character Encoding
CSV
Digital Certificates
Digital Signatures
Email
FTP
HTML-to-XML
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
RSA
S/MIME
SMTP
Socket
Spider
SSH
SSH Tunnel
SSH Key
SFTP
Tar
ASP Upload
XML
XMP
Zip Compression

More Examples...
Email Object
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA

Unreleased...
Bzip2
LZW
Icon

 

 

 

 

 

 

ASP Script to Update XML

Download Chilkat XML ActiveX

ASP example script showing how to update XML records.

<%@ LANGUAGE="VBSCRIPT" %>

<%
    response.ContentType = "text/xml"
	
    ' Create an ASP 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")

    ' Let's change "Adobe Systems Incorporated" to 
    ' "Adobe Systems Inc."

    ' Find the first node in the XML document where the tag is "name"
    ' and the content begins with "Adobe"
    set foundNode = xml.SearchForContent(Nothing, "name", "Adobe*")
    If (not (foundNode is Nothing)) Then
        foundNode.Content = "Adobe Systems Inc."
    End If

    response.write xml.GetXml()
%>


 

Need a specific example? Send a request to support@chilkatsoft.com

© 2000-2008 Chilkat Software, Inc. All Rights Reserved.