Altova Authentic 2024 Browser Edition


Home Prev Top Next

See also


Declaration: GetNextChild as XMLData


Return Value

Returns an xml element as XMLData object.



GetNextChild steps to the next child of this element. Before you call GetNextChild you must initialize an internal iterator with XMLData.GetFirstChild.


Check for the last child of the element as shown in the sample below.




 On Error Resume Next

 Set objParent = objPlugIn.XMLRoot


 'get elements of all kinds

 Set objCurrentChild = objParent.GetFirstChild(-1)



         'do something useful with the child


         'step to next child

         Set objCurrentChild = objParent.GetNextChild

 Loop Until (Err.Number - vbObjectError = 1503)


© 2017-2023 Altova GmbH