[Simple-support] How to disable pretty formatting?
Brought to you by:
niallg
|
From: Lardy <na...@he...> - 2009-01-18 00:25:45
|
I don't need readable XML - in fact it is a hindrance since I am sending large amounts of it over a network and all those spaces and new lines just add to the bulk - and so I need to stop simpleXML inserting spaces and new lines. I can't find anything on Style, Format, etc. that allows this. How would I go about it? I see I can set the indent to 0 but I need to stop the new lines being output too as I write each XML on a single line for easy reading at the other end. Nice library BTW - up and running in a few minutes. Thanks -- View this message in context: http://www.nabble.com/How-to-disable-pretty-formatting--tp21522727p21522727.html Sent from the Simple XML Serialization mailing list archive at Nabble.com. |