Game Development Community

Xml

by Jake london · in Torque 3D Professional · 10/19/2009 (4:05 pm) · 3 replies

Does T3D provide xml features? I am sending a string from server to client via commandToClient() in an xml format due to the complexity of the data. How can I readthrough the string (nodes) and extract the data? (similar to xpath query for xml)

#1
10/19/2009 (5:27 pm)
T3D has a TinyXML implementation which you are able to use.
#2
10/20/2009 (12:20 pm)
All the examples i seem to be finding online are all related to loading a file..

TiXmlDocument doc( "demo.xml" );
doc.LoadFile();

I need to load a string instead.. and parse that.. any ideas/samples available?


Thanks

#3
10/20/2009 (2:43 pm)
This should give you all of the information you need about TinyXML.

www.grinninglizard.com/tinyxmldocs/index.html