pretty xml formatter code example

Example: xml formatter

<?xml version="1.0" encoding="UTF-8"?>
<Macro index="0" name="SuperSource Macro" description="Created with H2R SuperSource Layouts">
   <Op id="SuperSourceV2BoxEnable" superSource="0" boxIndex="0" enable="True" />
   <Op id="SuperSourceV2BoxInput" superSource="0" boxIndex="0" input="Camera1" />
   <Op id="SuperSourceV2BoxSize" superSource="0" boxIndex="0" size="0.8" />
   <Op id="SuperSourceV2BoxXPosition" superSource="0" boxIndex="0" xPosition="-7.875" />
   <Op id="SuperSourceV2BoxYPosition" superSource="0" boxIndex="0" yPosition="0.4791666666666667" />
   <Op id="SuperSourceV2BoxMaskEnable" superSource="0" boxIndex="0" enable="True" />
   <Op id="SuperSourceV2BoxMaskLeft" superSource="0" boxIndex="0" left="7" />
   <Op id="SuperSourceV2BoxMaskTop" superSource="0" boxIndex="0" top="0" />
   <Op id="SuperSourceV2BoxMaskRight" superSource="0" boxIndex="0" right="7" />
   <Op id="SuperSourceV2BoxMaskBottom" superSource="0" boxIndex="0" bottom="0" />
   <Op id="SuperSourceV2BoxEnable" superSource="0" boxIndex="1" enable="True" />
   <Op id="SuperSourceV2BoxInput" superSource="0" boxIndex="1" input="Camera2" />
   <Op id="SuperSourceV2BoxSize" superSource="0" boxIndex="1" size="0.8" />
   <Op id="SuperSourceV2BoxXPosition" superSource="0" boxIndex="1" xPosition="7.958333333333333" />
   <Op id="SuperSourceV2BoxYPosition" superSource="0" boxIndex="1" yPosition="0.2916666666666667" />
   <Op id="SuperSourceV2BoxMaskEnable" superSource="0" boxIndex="1" enable="True" />
   <Op id="SuperSourceV2BoxMaskLeft" superSource="0" boxIndex="1" left="7" />
   <Op id="SuperSourceV2BoxMaskTop" superSource="0" boxIndex="1" top="0" />
   <Op id="SuperSourceV2BoxMaskRight" superSource="0" boxIndex="1" right="7" />
   <Op id="SuperSourceV2BoxMaskBottom" superSource="0" boxIndex="1" bottom="0" />
   <Op id="SuperSourceV2BoxEnable" superSource="0" boxIndex="2" enable="False" />
   <Op id="SuperSourceV2BoxEnable" superSource="0" boxIndex="3" enable="False" />
</Macro>