using plain XML responder without pretty print when sending the response

Options
jimboy
jimboy Posts: 33 ✭

I notice this while using the plain XML Response on the response. The XML message is pretty printed ( broken down to element line by line). Is there a way to have them in one line removing spaces or carriage return below sending the message out?

Comments

  • williammccusker
    williammccusker Posts: 718 ✭✭✭
    Options

    Hi,

    What mode is the input in? Is this Form Input, Form XML, or Literal? In Literal View there right-click option to "Compact" which will put all the XML on a single line.

  • benken_parasoft
    benken_parasoft Posts: 1,392 ✭✭✭
    edited July 2021
    Options

    Form Input and Form XML have a "Beautify" option on the right-click menu. So, make sure it is not selected.

    Please note that some views (Event Details) may show the "beautified" (pretty-printed) version of messages for readability, regardless of how they were actually sent over-the-wire.

  • jimboy
    jimboy Posts: 33 ✭
    Options

    thanks, it works disabling the beautify option in the form xml.