Problem solve Get help with specific problems with your technologies, process and projects.

What could cause a type mismatch error in an XML file with no child nodes?

In a XML file, even if a node doesn't have child nodes, VB satisfies the condition of having child nodes and later give an error 'Type Mismatch'. What could be causing this?
I'm not a VB user but one possibility is that "no nodes" is actually an empty list structure of some sort. If you are comparing this against, say and integer value of 0, you would get a 'Type Mismatch' error.

Dig Deeper on Topics Archive