We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d60dd66 commit e9efb6aCopy full SHA for e9efb6a
src/XmlContentTranslator/Main.cs
@@ -99,7 +99,7 @@ private bool OpenFirstXmlDocument(XmlDocument doc)
99
var treeNode = new TreeNode(childNode.Name);
100
treeNode.Tag = childNode;
101
treeView1.Nodes.Add(treeNode);
102
- if (childNode.ChildNodes.Count > 0 && !XmlUtils.IsTextNode(childNode))
+ if (XmlUtils.IsParentElement(childNode))
103
{
104
ExpandNode(treeNode, childNode);
105
}
0 commit comments