ASP Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

ASP Examples

ASP String
ASP Byte Array
Bounced Mail
Bz2
Character Encoding
CSV
Digital Certificates
Digital Signatures
Email
FTP
HTML Conversion
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...
Amazon S3
Email Object
DKIM / DomainKey
NTLM
DH Key Exchange
DSA
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
Bzip2
LZW

 

 

 

 

 

 

(ASP) Creating a New Child Node

Demonstrates how to create a new child in an XML document.

The following XML sample code produces this output:


<abc>
    <xyz>
        <mmm>123</mmm>
    </xyz>
</abc>

Download Chilkat XML ActiveX

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
set xml = Server.CreateObject("Chilkat.Xml")

xml.Tag = "abc"

'  Create a new child  with no content
'  and return the newly created child node:

' childNode is a Chilkat.Xml
Set childNode = xml.NewChild("xyz","")

'  Create a child under childNode, but instead call
'  NewChild2 which doesn't return the newly created child node:
childNode.NewChild2 "mmm","123"

Response.Write "<pre>" & Server.HTMLEncode( xml.GetXml()) & "</pre>"
%>
</body>
</html>

 

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