Genx XML serializer C library
A portable, dependency-free, MIT-licensed XML push-serializer library for C.
#include <libgenx/genx.h>
int main()
{
genxWriter w = genxNew(NULL, NULL, stdout);
genxStartDocSender(w, &stdioSender);
genxStartElementLiteral(w, (utf8)"http://example.org/1",
(utf8)"greeting");
genxAddAttributeLiteral(w, (utf8)"http://example.com/2",
(utf8)"type",
(utf8)"well-formed");
genxAddText(w, (utf8)"Hello world!");
genxEndElement(w);
genxEndDocument(w);
genxDispose(w);
}
... More
license | MIT |
---|---|
project | genx |
url | git.codesynthesis.com/cgit/genx |
boris@codesynthesis.com |
1 Version
version | 0.2.0 |
---|---|
repository | https://pkg.cppget.org/1/alpha |
depends | 0 |
reviews | +1 |