G
Guest
How can I compress XML data trought php SoapClient function and soap-
server?
server?
Joseph Kesselman said:The usual way to compress XML is just to put it through a standard
text-compression tool such as zip/gzip. That compresses both structure
and content very effectively. But that produces binary data, which would
have to be encoded (eg base-64 encoding) before it could be wrappered in
XML, and that encoding of course adds some space overhead back in.
I don't know of any other standard way of compressing a SOAP payload.
Cydrome said:Is there anything that isn't lame about xml?
Is there anything that isn't lame about xml?
- bloat your data into text, extremely verbose text - add lots of tags,
let's say twice as many as needed - compress it into binary
- then turn it back into text
- then put more tags around it
What the ****?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.