added pretty printing option (no extra whitespace in returned xml) - right now it is its own method, in the future I see passing an XMLPrintOption array.