XML C++ library for simple messages -


I need an XML library for generating simple XML messages. I have come from a Java background Xerces-C ++ Some suggestions for pointing at the XML library are found because it was transferred.

The other suggested library has its advantages in the memory, but it is not all of my needs. I need an API that supports an easy creation.

In addition to this, when I want to send XML through Ccom, will I have to pay attention to the serialization or can I send plain XML texts?

P> Overall the focus is on creating XML and there is no parsing.

will be a simple XML library

edit:

If XML is really simple, you can also output XML tags to your code, for example, see TINXML, for example (section 'Building Documents Programmatic'). Something like this:

  std :: stringstream s; S & lt; & Lt; "& Lt; tag & gt;" & Lt; & Lt; Var & lt; & Lt; "& Lt; / tag & gt; \ n"; Std :: cout & lt; & Lt; S.str ();    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -