diff --git a/Intacct.SDK/Xml/RequestBlock.cs b/Intacct.SDK/Xml/RequestBlock.cs index b466500b..a44f93ac 100644 --- a/Intacct.SDK/Xml/RequestBlock.cs +++ b/Intacct.SDK/Xml/RequestBlock.cs @@ -42,7 +42,11 @@ public Stream WriteXml() Stream stream = new MemoryStream(); XmlWriterSettings xmlSettings = new XmlWriterSettings { - Encoding = this.Encoding + Encoding = this.Encoding, + Indent = false, + NewLineHandling = NewLineHandling.Replace, + NewLineOnAttributes = false + NewLineChars = "" }; IaXmlWriter xml = new IaXmlWriter(stream, xmlSettings); @@ -59,4 +63,4 @@ public Stream WriteXml() return stream; } } -} \ No newline at end of file +}