Questions tagged [tinyxml]

TinyXML is a simple, small C++ XML parser and generator library.

TinyXML is a simple, small, C++ parser that can be easily integrated into other programs. It is released under the ZLib license.

In brief, TinyXML parses an XML document, and builds from that a Document Object Model (DOM) object that can be browsed, manipulated and serialized within your C++ code. TinyXML also allows you to construct an XML document from scratch with C++ objects and write this to disk or another output stream.

TinyXML is designed to be easy and fast to learn. It consists of two headers and four source files which can either be compiled into your binary or built into a static library.

TinyXML attempts to be a flexible parser, but with truly correct and compliant XML output. It should compile on any reasonably C++ compliant system, does not rely on exceptions or RTTI, and can be compiled with or without STL support. TinyXML fully supports the UTF-8 encoding, and the first 64k character entities. However, TinyXML doesn't parse or use or .

219 questions
0
votes
1 answer

error in running tinyxml in gcc

I want to create a xml file through a C program. I am using gcc and tinyxml in ubuntu10.10 #include"tinyxml.h" #define TIXML_USE_STL #include< tinyxml.h> void dump_to_stdout(const char* pFilename); int…
phoenix
  • 1
  • 2
0
votes
3 answers

TinyXML throwing access violation

I've recently started using tinyXML. The problem is when I run my program to read through xml, it returns back an access violation. A common line is: doc.FirstChildElement("Map")->FirstChildElement("Width")->GetText() With the visual studio…
will
  • 1,397
  • 5
  • 23
  • 44
0
votes
1 answer

Loading an XML file with tinyxml

I'm trying to load an XML file in with tinyxml and I'm not sure what to do. I'm new to tinyxml and XML file loading in general and was looking for some help. I managed to get the root using the RootElement function, as well as the first child…
0
votes
1 answer

TinyXml: ErrorCode 9

I'm using LibCurl (with SSL) to retrieve XML from an API. But it gives an errorcode (9), and I don't know where it stands for. Can anyone point me to the solution? Snippet of code: if(success) { tinyxml2::XMLDocument doc; …
Lennart-
  • 519
  • 1
  • 6
  • 19
0
votes
1 answer

TinyXML2 Parsing going very bad

EDIT: I figured it out, look towards the bottom half of this Before I ask my question, I will state I have successfully used TBXML and RapidXML. Specifically Rapid has parsed this very same document successfully. I'm familiar with XML reading and…
Stephen J
  • 2,367
  • 2
  • 25
  • 31
0
votes
1 answer

XML generation from C++ classes using TinyXML

I want to generate an XML of the format, abc def xyz jlkjlkj
PragJh
  • 41
  • 1
  • 4
-1
votes
1 answer

compare and add elements from one xml to another

I have two xml files XML1 abc 25 XML2 abc 25 xyz 27 I want to compare these two files and add…
anand
  • 11,071
  • 28
  • 101
  • 159
-1
votes
2 answers

tinyXML or rapidXML crash

When parsing with tinyXML or rapidXML I have such an error when "<" character is put into XML file: Process returned -1073741819 (0xC0000005) execution time : 2.335 s Press any key to continue. Do you know how to avoid this behavior? #include…
neutrino
  • 31
  • 5
-1
votes
1 answer

Converting Decimal to char* in C++ windows form application

in my project I need to convert Deciml variable to char*; Coz I need to save the value that user entered in a numericupdown control in a xml output using tinyXML. the function that I am using for printing text in tinyXMl, take the char* parameter.…
Golnaz Saraji
  • 154
  • 1
  • 3
  • 14
1 2 3
14
15