Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced xml pretty printing with nodes having attributes only. #25

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

martin-yum
Copy link

Each attribute is printed in a separate, indented line now.
This makes the xml better readable, especially if there are many attributes in the node.

Signed-off-by: e-driver e-driver@t-online.de

Each attribute is printed in a separate, indented line now.
This makes the xml better readable, especially if there are many attributes in the node.

Signed-off-by: e-driver <e-driver@t-online.de>
@martin-yum
Copy link
Author

This is a simple improvement for xml export. If you have nodes with many (and probably long) attributes, the xml file becomes very ugly with all attributes in a long line. Now all attributes are tiny in new lines like subnodes. In case of mixed nodes (attributes and subnodes) the behaviour is unchanged (all attributes in one line).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant