converted to libxml for config, initial test working