Convert GZ to XML
Turn GZ archives into XML. The gzip layer is removed and the bytes inside are written as they were.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop GZ files on the dialor turn it to pick what to do
The XML inside a gzip file.The gzip layer comes off and the XML underneath is written out as it was.
What you get
One XML file. The gzip layer is removed, and the bytes inside are written unchanged, so the content is the same as what was compressed.
Name the format inside
Ask for the format you know is inside the GZ file. If the file holds something other than XML, the request is refused. Choose XML only when the compressed file is an XML document.
When it stops
The conversion stops with
input_corruptedwhen the GZ file could not be parsed. It stops withunsupported_elementswhen the file holds something XML cannot carry.There are no options to set. To go the other way, use XML to GZ.
GZ and XML.What each format is.
The formats
Gzip
A single file compressed with gzip, such as a log or a CSV.
- Extensions
- .gz
- MIME type
- application
/gzip - Kind
- Archives
XML
XML documents and data.
- Extensions
- .xml
- MIME type
- application
/xml - Kind
- Text and data
In your code.The same GZ to XML conversion through the API, for your app or your agent.
$ cv convert archive.gz archive.xml$ cv convert archive.gz archive.xmlQuestions.What people ask about GZ to XML.
No. The bytes inside the gzip file are written as they were. Only the gzip layer is removed.
Ask for that format instead. A request for XML is refused when the file inside is not XML.
The file holds something XML cannot carry. The conversion stops with this code in that case.
One file. It is the XML that was inside the GZ file.