iTP Active Transaction Pages (iTP ATP) Programmer's Guide

XML for ATP Add-On Module
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide522292-002
5-62
XMLDOMCharacterData Object
Output
<?xml version='1.0'?>
target property is xml
XMLDOMCharacterData Object
The XMLDOMCharacterData object extends the XMLDOMNode Object with a set of
methods for accessing character data in the DOM. The XMLDOMCharacterData object
does not directly correspond to any node type. The XMLDOMCDATASection Object
,
XMLDOMComment Object, and XMLDOMText Object reuse its methods. These
methods handle large amounts of text, including sizes larger than can be manipulated
natively using string constructs.
Table 5-18
specifies the properties that are defined in the XMLDOMCharacterData
object and reused by the XMLDOMCDATASection Object, XMLDOMComment
Object, and XMLDOMText Object.
Table 5-19
specifies the methods that are defined in the XMLDOMCharacterData object
and reused by the XMLDOMCDATASection Object, XMLDOMComment Object, and
XMLDOMText Object.
Table 5-18. XMLDOMCharacterData Object Properties
Property Description
data Contains this node’s data, which depends on the node type.
length Specifies the length, in characters, of the data.
Table 5-19. XMLDOMCharacterData Object Methods
Method Description
appendData Appends the supplied string to the existing string data.
deleteData
Deletes the specified substring within the string data.
insertData
Inserts the supplied string at the specified offset.
replaceData Replaces the specified number of characters with the supplied
string.
substringData Retrieves a substring of the full string from the specified range.