KeithMcElroy
asked on
vb script/classic asp: append xml documents to node of another xml document
In vb script / classic asp, How do I make it so I can append xml documents that are in an array to another xml Document as follows:
Set xmlDoc = CreateObject("Microsoft.XM LDOM")
Set objRoot = xmlDoc.createElement("runn ers") :xmlDoc.appendChild objRoot
Set objIntro = xmlDoc.createProcessingIns truction ("xml","version='1.0'")
xmlDoc.insertBefore objIntro,xmlDoc.childNodes (0)
for c__ = 1 to ubound(c_)
'xarray is an array of xmldom documents
objroot.appendchild xarray(c__)
next
This currently errs
Set xmlDoc = CreateObject("Microsoft.XM
Set objRoot = xmlDoc.createElement("runn
Set objIntro = xmlDoc.createProcessingIns
xmlDoc.insertBefore objIntro,xmlDoc.childNodes
for c__ = 1 to ubound(c_)
'xarray is an array of xmldom documents
objroot.appendchild xarray(c__)
next
This currently errs
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.