Forums

Removing whitespace on certain xml nodes on update (1 post)

  1. cgardyne
    Member
    Posted 2 years ago #

    Hi,

    When I enter some xml into the HTML tab of the editor it is stripping the whitespace in front of certain nodes when updating. For example the xml:

    <result name="/lists/contacts/schema" ok="True">
    	<schema id="24841a7e-bbb1-4888-9ff3-ff124c83cc08" version="2">
    		<column id="4d998cf7-0636-4380-9651-cf1d4c83cc08" name="Email Address" type="Email" nullable="False" pk="True"/>
    		<column id="9799ff37-e203-453f-bef9-31254c83cc08" name="First name" type="Text" nullable="True"/>
    		<column id="1d216b33-2cd5-4ff4-aa71-86294c83cc08" name="Surname" type="Text" nullable="True"/>
    		<column id="8ba7020e-a134-4217-b100-d6384c83cc08" name="Opted Out" type="Boolean" nullable="False"/>
    		<column id="21e113c7-da11-4f95-8e13-d8384c83cc08" name="GNA" type="Integer" nullable="False"/>
    	</schema>
    </result>

    It strips out the white space in front of all column nodes when I hit update!? Any ideas, plugins etc?

Topic Closed

This topic has been closed to new replies.

About this Topic