XMLData.EraseAllChildren

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Programmers' Reference > Application API > Interfaces > XMLData >

XMLData.EraseAllChildren

See also

 

Declaration: EraseAllChildren

 

Description

EraseAllChildren deletes all associated children of the XMLData object.

 

Errors


1500

The XMLData object is no longer valid.


1900

Document must not be modified

 

Example

The sample erases all elements of the active document.

 

 Dim objCurrentParent As XMLData

 

 Set objCurrentParent = objSpy.ActiveDocument.RootElement

 objCurrentParent.EraseAllChildren


© 2019 Altova GmbH