BSD Ports

textproc/tinyxml2 11.0.0nb1 NetBSD

Simple, small and efficient C++ XML parser

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
zlib
Categories
textproc
Package size
43.0 KiB, 170.6 KiB installed

Description

TinyXML-2 parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved.

TinyXML-2 uses a Document Object Model (DOM), meaning the XML data is parsed into a C++ objects that can be browsed and manipulated, and then written to disk or another output stream. You can also construct an XML document from scratch with C++ objects and write this to disk or another output stream.

TinyXML (textproc/tinyxml) served the needs of the original author for many years; but it uses memory inefficiently, and doesn't perform as well as desired for mobile devices. The author wanted an XML parser that was a little more modern, a little simpler (the "tiny" had been lost a little over the years), and was a good fit for Android.

This led to TinyXML-2.

In the other systems

SystemPortVersion
NetBSDtextproc/tinyxml211.0.0nb1
FreeBSDtextproc/tinyxml211.0.0_1,1
OpenBSDtextproc/tinyxml210.0.0
DragonFlytextproc/tinyxml211.0.0,1
MidnightBSDtextproc/tinyxml211.0.0,1

Install

Binary package:

pkgin install tinyxml2

From pkgsrc:

cd /usr/pkgsrc/textproc/tinyxml2 && make install clean

Dependencies