Appends the supplied string to the existing string data.
oXMLDOMCharacterData.appendData(data)
The length property is also updated by this operation.
The following example creates an XMLDOMComment object and uses the appendData method to add text to the string:
Dim xmlDoc
Dim comment
Set xmlDoc = CreateObject("Msxml2.DOMDocument")
xmlDoc.async = False
xmlDoc.load("c:\books.xml")
Set comment = xmlDoc.createComment("Hello World!")
comment.appendData ("Ellohay Orldway!")
MsgBox (comment.data)
Applies To: XMLDOMCDATASection | XMLDOMCharacterData | XMLDOMComment | XMLDOMText