XE5 xml

前端之家收集整理的这篇文章主要介绍了XE5 xml前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


TXMLDocument *XMLDocument1;

_di_IXMLNode xdeRoot;
_di_IXMLNode xdeChild;

xdeRoot = XMLDocument1->DocumentElement;


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); }

原文链接:https://www.f2er.com/xml/298689.html

猜你在找的XML相关文章