Write a point array with TinyXML

anouarabd

New Member
How can I do this?\[code\]<DataArray attr1="value1" > 0.1 100 0.2 101 ...</DataArray>\[/code\]btw, how are the point coords called? Are they elements, nodes, I know that they are not comments. What are they?This is what I got so far\[code\]XMLDocument doc;...XMLElement* dataArray = doc.NewElement("DataArray ");dataArray ->SetAttribute("attr1", "value1");foreach(point in data array){// what now?}doc->LinkEndChild(dataArray );\[/code\]
 
Back
Top