Search the Community
Showing results for tags 'XML'.
-
Hello, I`m currently struggling to create an actual working prototype of a working XML parser due to a lack of examples in documentation. Can anybody provide a few lines of code just to parse a simple XML file with the file itself, please?
-
I have created xml like Xml test = new Xml(); after that added few child for(int i = 0; i < 100; i++) { test.addChild("test" + i); } saved the xml using test.save("test"); When i run console command world_memory_usage it say xml has 'x' mb usage after that i deleted xml using delete delete test; after deletion i checked again world_memory_usage it showed the same 'x' mb usage did i forget anything which need to be done before delete xml for clearing memory?
-
XML парсер при сохранении заменяет символы < > & " ' на специальные символы (например "<" -> "<"), а при считывании не заменяет их обратно. in-english: XML parser when saving replaces the characters <> & " ' on special characters (for examplе "<" -> "<"), and when reading is not a substitute them back.
-
In unigine script xml class have functions like setVec3Data / getVec3Data etc. It is good to have the same functions in C++ API class Unigine::Xml in next SDK update.
-
Hello together, I'm saving an XML-File with all set values, like :"antialiasing: 4x" and so on. This "4x" in XML-File will be read out at application start, and should be set then to the combobox. I tried to do "setCurrentItem("4x")" or "setData("4x") but the value in dropdown didn't change. My workarround solution now is, to run through the combobox-items, check's the actual text on index X and compare this text with the saved XML-File Text, if they are equal, I got my index. For 30 or more comboBox's, this is in my opinion not the fastes variant. Best regards Lars