Read XML child node Attribute on VBA with oDOC
问题 I have a list of different animals (following XML file), some of the animals have children, I wrote something that print all children animal names it won't work it say "object dosen't support this property or method" If I would replace this line : Set list =oDoc.SelectSingleNode("/animal/cat[(@ID)=""17""]") to that one: Set list = xDoc.SelectNodes("/animal/cat[(@ID)=""17""]") my code works perfect , but I can't replace it because other method required that list will defined like that : Set