@H_403_2@TXMLDocument *XMLDocument1;
@H_403_2@_di_IXMLNode xdeRoot;_di_IXMLNode xdeChild; @H_403_2@xdeRoot = XMLDocument1->DocumentElement; @H_403_2@
@H_403_2@for (int i = 0; i < xdeRoot->ChildNodes->Count; i++) { xdeChild = xdeRoot->ChildNodes->Get(i); String text; VARIANT val; val = xdeChild->GetAttribute("name"); text = val.bstrVal; Node = TreeView1->Items->AddChild(NULL,text); LoadChildNode(Node,xdeChild); }