Из документации:
xmlParseFile ()
xmlDocPtr xmlParseFile (const char * filename)
parse an XML file and build a tree.
Automatic support for ZLIB/Compress
compressed document is provided
by default if found at compile-time.
filename: the filename
Returns: the resulting document tree if the file was wellformed, NULL otherwise.
document is provided by default if found at compile-time.
Каким должен быть пожатый xml, чтобы libxml2 его распарсил?
Просто gzip'ованный файл test.xml.gz?
А директории, чтобы сделать что-то вроде odf-файла (архив с xml-ми),
libxml2 встроенными средствами не умеет?