CUIx is ZIP-compressed XML (plus a few other items). I suspect CUI is simply uncompressed XML. Either way, once you have the XML you can apply an XSLT transform to get the contents you want, in an acceptable format. You could also use XPath to parse out the contents programmatically.