FoxPro Examples

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

Visual FoxPro Examples

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

More Examples...
Amazon S3
DKIM / DomainKey
NTLM
RSS
Atom
Byte Array
Service
PPMD
Deflate
DH Key Exchange
DSA
FileAccess
Bzip2
LZW

 

Non-Chilkat Links
Text and String Handling

Create XML Child Nodes with Attributes

Download Chilkat XML ActiveX

How to create XML child nodes with attributes.

LOCAL loXml
LOCAL loXNode0
LOCAL loXChild


loXml = CreateObject('Chilkat.Xml')

*  The Chilkat XML component is freeware.

loXml.Tag = "product"

loXNode0 = loXml.NewChild("properties","")

loXChild = loXNode0.NewChild("price","")
loXChild.AddAttribute("SellPrice","11.99")
RELEASE loXChild

loXChild = loXNode0.NewChild("price","")
loXChild.AddAttribute("BasePrice","11.99")
RELEASE loXChild

RELEASE loXNode0

? loXml.GetXml()

*  Prints this:
*  <product>
*     <properties>
*         <price SellPrice="11.99"></price>
*         <price BasePrice="11.99"></price>
*     </properties>
* </product>


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

Mail Component · .NET Email Component · ASP Mail Component · XML Parser