Skip to content

XML indentation / new lines #16

Description

@Yivan

Hello,

I don't know if this is wanted, but generated XML is one line.

<?xml version="1.0"?>
<root><row><nom>Table basse plateau verre</nom><reference>6 446 007</reference></row><row><nom>Table basse plateau verre</nom><reference>6 446 007</reference></row><row><nom>Table basse plateau m&#xE9;lamin&#xE9;</nom><reference>6 634 040</reference></row><row><nom>Table basse guest</nom><reference>6 720 030</reference></row></root>

For big export this will generate a pretty big big one text line.
Maybe it could make issues for software where this file will be processed.
Like the JSON, it would be nice to have a structure on multiple lines with indentation:

<?xml version="1.0" encoding="UTF-8"?>
<root>
   <row>
      <nom>Table basse plateau verre</nom>
      <reference>6 446 007</reference>
   </row>
   <row>
      <nom>Table basse plateau verre</nom>
      <reference>6 446 007</reference>
   </row>
   <row>
      <nom>Table basse plateau mélaminé</nom>
      <reference>6 634 040</reference>
   </row>
   <row>
      <nom>Table basse guest</nom>
      <reference>6 720 030</reference>
   </row>
</root>

If you think it will not make problem you can close this issue, but I wanted to point this.

Best regards.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions