libgenx/0.2.0

[brief]

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);
}

This is a cleaned up, fixed, and enhanced version of Tim Bray's Genx. Note that support for genxStartDocFile() (which depends on <stdio.h>) has been removed. See the basics test for an example of how to achieve the same yourself.

version 0.2.0
license MIT
repository pkg:cppget.org/alpha
location https://pkg.cppget.org/1/alpha
download libgenx-0.2.0.tar.gz
sha256 7c266294455324f8603e7b8664fe811c7ba5821dc9e25d97371f0ad382620af5
project genx
url git.codesynthesis.com/cgit/genx

Builds

toolchain public-0.13.0
config macos_10.15-gcc_9.3_homebrew-static_O3 / x86_64-apple-darwin19.0.0
timestamp 2021-05-12 23:58:44 UTC (04 seconds ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-gcc_9.3_homebrew-O3 / x86_64-apple-darwin19.0.0
timestamp 2021-05-12 23:56:04 UTC (02:44 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-gcc_9.3_homebrew / x86_64-apple-darwin19.0.0
timestamp 2021-05-12 23:54:48 UTC (04:00 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-clang_11.0 / x86_64-apple-darwin19.0.0
timestamp 2021-05-12 23:54:32 UTC (04:17 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-clang_11.0-static_O3 / x86_64-apple-darwin19.0.0
timestamp 2021-05-12 23:47:18 UTC (11:30 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.14-clang_10.0 / x86_64-apple-darwin18.6.0
timestamp 2021-05-12 23:37:32 UTC (21:16 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 23:25:40 UTC (33:09 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.13-clang_9.1 / x86_64-apple-darwin17.5.0
timestamp 2021-05-12 23:24:13 UTC (34:35 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.12-clang_8.1 / x86_64-apple-darwin16.4.0
timestamp 2021-05-12 23:02:25 UTC (56:23 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-gcc_9.2_mingw_w64-O3 / x86_64-w64-mingw32
timestamp 2021-05-12 22:16:06 UTC (01:42:43 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6_lld / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 22:13:45 UTC (01:45:03 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 22:11:58 UTC (01:46:50 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-gcc_9.2_mingw_w64-static_O3 / x86_64-w64-mingw32
timestamp 2021-05-12 22:10:20 UTC (01:48:28 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-gcc_9.2_mingw_w64 / x86_64-w64-mingw32
timestamp 2021-05-12 21:57:46 UTC (02:01:02 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10_devmode-msvc_16.4 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 21:47:13 UTC (02:11:36 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 21:45:20 UTC (02:13:29 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.6-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 20:29:33 UTC (03:29:16 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.6-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 20:27:41 UTC (03:31:08 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.6 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 19:57:20 UTC (04:01:28 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_msvc_msvc_16.6 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 19:31:54 UTC (04:26:54 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_8.0_msvc_msvc_16.3 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 19:30:11 UTC (04:28:37 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.5 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 19:16:26 UTC (04:42:23 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.0 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 19:02:31 UTC (04:56:17 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_9.0_llvm_msvc_16.4 / x86_64-microsoft-win32-msvc14.2
timestamp 2021-05-12 18:58:41 UTC (05:00:08 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0_libc++-static_O3 / x86_64-linux-gnu
timestamp 2021-05-12 18:49:37 UTC (05:09:11 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0_libc++-O3 / x86_64-linux-gnu
timestamp 2021-05-12 18:46:48 UTC (05:12:00 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0_libc++ / x86_64-linux-gnu
timestamp 2021-05-12 18:44:05 UTC (05:14:44 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0-O3 / x86_64-linux-gnu
timestamp 2021-05-12 18:43:18 UTC (05:15:30 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0-static_O3 / x86_64-linux-gnu
timestamp 2021-05-12 18:41:10 UTC (05:17:38 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0 / x86_64-linux-gnu
timestamp 2021-05-12 18:35:33 UTC (05:23:16 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_8.0 / x86_64-freebsd12.1
timestamp 2021-05-12 18:25:32 UTC (05:33:16 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_8.0-static_O3 / x86_64-freebsd12.1
timestamp 2021-05-12 18:23:54 UTC (05:34:55 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_8.0-O3 / x86_64-freebsd12.1
timestamp 2021-05-12 18:19:40 UTC (05:39:09 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_9.0_libc++ / x86_64-linux-gnu
timestamp 2021-05-12 18:01:44 UTC (05:57:05 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_9.0 / x86_64-linux-gnu
timestamp 2021-05-12 18:00:18 UTC (05:58:30 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_10.1-static_O3 / x86_64-linux-gnu
timestamp 2021-05-12 17:52:18 UTC (06:06:31 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_15.9 / x86_64-microsoft-win32-msvc14.1
timestamp 2021-05-12 17:42:50 UTC (06:15:59 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_6.0 / x86_64-freebsd12.0
timestamp 2021-05-12 17:30:45 UTC (06:28:04 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_8.0_libc++ / x86_64-linux-gnu
timestamp 2021-05-12 17:16:41 UTC (06:42:07 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_10.1-O3 / x86_64-linux-gnu
timestamp 2021-05-12 13:59:06 UTC (09:59:43 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_10.1 / x86_64-linux-gnu
timestamp 2021-05-12 13:56:50 UTC (10:01:58 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_8.0 / x86_64-linux-gnu
timestamp 2021-05-12 13:55:54 UTC (10:02:55 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_7.0_libc++ / x86_64-linux-gnu
timestamp 2021-05-12 13:49:08 UTC (10:09:41 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_7.0 / x86_64-linux-gnu
timestamp 2021-05-12 13:43:18 UTC (10:15:31 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-gcc_7.4 / x86_64-linux-gnu
timestamp 2021-05-12 13:40:49 UTC (10:17:59 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_9.3 / x86_64-linux-gnu
timestamp 2021-05-12 13:28:55 UTC (10:29:53 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_6.0_libc++ / x86_64-linux-gnu
timestamp 2021-05-12 13:17:51 UTC (10:40:58 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_6.0 / x86_64-linux-gnu
timestamp 2021-05-12 13:00:13 UTC (10:58:36 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_15.0 / x86_64-microsoft-win32-msvc14.1
timestamp 2021-05-12 12:43:30 UTC (11:15:19 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_14.3 / x86_64-microsoft-win32-msvc14.0
timestamp 2021-05-12 12:36:28 UTC (11:22:20 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_11-clang_6.0 / x86_64-freebsd11.2
timestamp 2021-05-12 11:50:22 UTC (12:08:27 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_5.0 / x86_64-linux-gnu
timestamp 2021-05-12 11:11:37 UTC (12:47:11 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-gcc_8.4 / x86_64-linux-gnu
timestamp 2021-05-12 11:06:36 UTC (12:52:13 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_8-gcc_4.9 / x86_64-linux-gnu
timestamp 2021-05-12 10:40:54 UTC (13:17:54 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_ubuntu_16.04-clang_3.7_libc++ / x86_64-linux-gnu
timestamp 2021-05-12 10:39:37 UTC (13:19:11 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_11-clang_4.0 / x86_64-freebsd11.1
timestamp 2021-05-12 10:39:27 UTC (13:19:22 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-clang_11.0-O3 / x86_64-apple-darwin19.0.0
timestamp 2021-05-11 23:55:05 UTC (01 00:03:43 days ago)
result success | log | rebuild