Link Search Menu Expand Document

XmlCharacterData.InsertData Method

Explanation Insert a string
Call format cd.InsertData( offset, text )
Return value None
Arguments integer offset Position to add (specified by the number of characters)
String text String to add
Exception DOM-1 INDEX_SIZE_ERR
DOM-7 NO_MODIFICATION_ALLOWED_ERR
Example of use
    var text = elm.FirstChild;
    text.InsertData(10, "abcdefg");
    
Related item XmlText class