A minimal interface for XML Dom based on libxml2