Hi,
I can build single or multiple nodes into an XMLBuilder object, but do not know how to successively add nodes and attributes during a loop.
So if we do
For n_NthID = 0 To n_NumberOfIDs
s_id = GetNthId( n_NthID )
xb_XMLBuilder = xb_XMLBuilder.element( "Index" ) _
.attribute( "Index_ID", s_id ) _
.up()
Next '// n_NthID = 0 To n_NumberOfIDs
, how do we keep adding to xb_XMLBuilder, during each loop?
(Sorry, I still cannot insert formatted code, into a forum message. The toolbar with fonts & formatting & such, are not visible in my message input box.)
I can build single or multiple nodes into an XMLBuilder object, but do not know how to successively add nodes and attributes during a loop.
So if we do
For n_NthID = 0 To n_NumberOfIDs
s_id = GetNthId( n_NthID )
xb_XMLBuilder = xb_XMLBuilder.element( "Index" ) _
.attribute( "Index_ID", s_id ) _
.up()
Next '// n_NthID = 0 To n_NumberOfIDs
, how do we keep adding to xb_XMLBuilder, during each loop?
(Sorry, I still cannot insert formatted code, into a forum message. The toolbar with fonts & formatting & such, are not visible in my message input box.)