xPDK File formats
The file formats are based on XML
as this is a very mature definition. This allows to use all kinds of tooling to be used according to each preference.
The XML files have a XSD
defined schema that provides for:
- high performance read/write libraries on all platforms
- very mature schema definitions for validation
- wide flavor of XML editors (eg XML Copy Editor) , file validators and extraction software (xmllint, xmlstarlet) and other software like
- with CodeSynthesis xsdcxx a 1:1 mapping to configurable C++ STL containers; so a reference implementation (read/write) is simple.
Many tools exist like xsltproc
which allow direct XML processing without using full programming languages. Such tools use the XML specifications for getting data like XQuery
. This is widely available.
The xerces and libxml2
are the library commonly used, also in xmllint (libxml2) and xsdcxx (xerces).
is a python library to work with xml.
On Debian / Ubuntu you can install the XML related tools easily via:
sudo apt -y install libxml2 xsdcxx xmlcopyeditor xsddiagram xmlstarlet