Not indenting the following XML correctly
amit4got opened this issue · comments
Thanks for this plugin! Really helpful right now for me.
Unfortunately I don't have time to look into it now, as my knowledge of Python is quite limited, but the following XML does not indent correctly. Nothing major!
What the plugin returns:
<Transaction>
<SequenceNumber>155</SequenceNumber>
<BeginDateTime>2012-09-11T15:15:48.8233175+01:00</BeginDateTime>
<RetailTransaction>
<LineItem>
<SequenceNumber>1</SequenceNumber>
<Sale>
<ItemID>2</ItemID>
<Quantity UnitOfMeasureCode="Kg" Units="0.25">1</Quantity></Sale>
</LineItem>
</RetailTransaction>
</Transaction>
What the plugin should return:
<Transaction>
<SequenceNumber>1</SequenceNumber>
<BeginDateTime>2015-09-30T11:15:48.8233175+01:00</BeginDateTime>
<RetailTransaction>
<LineItem>
<SequenceNumber>1</SequenceNumber>
<Sale>
<ItemID>1</ItemID>
<Quantity UnitOfMeasureCode="Kg" Units="0.25">1</Quantity>
</Sale>
</LineItem>
</RetailTransaction>
</Transaction>
:)