menno
12-19-2015, 01:11 PM
I am looking for an alternative for filling a xmlnodelist. Because the function GetElementsByTagName is only working with one “search condition”.
I would like to add to this nodelist the tags “A” and tags B both in one nodelist.
The code below is not correct because its only working for one tagname. Anyone any idea? Maybe with a loop function?
Src = filename
xmldoc.async = False
xmldoc.Load (src)
Set oNodeList = xmldoc.getElementsByTagName("A")
I would like to add to this nodelist the tags “A” and tags B both in one nodelist.
The code below is not correct because its only working for one tagname. Anyone any idea? Maybe with a loop function?
Src = filename
xmldoc.async = False
xmldoc.Load (src)
Set oNodeList = xmldoc.getElementsByTagName("A")