How to add new line before each attribute? #170
Answered
by
renggli
vunguyen7797
asked this question in
Q&A
-
I am trying to obtain this format in the ouput:
However, I still couldn't find out away to add a newline before adding each attribute. All the attributes of the elements seem always be on the same line. Is there anyway available to achieve this? |
Beta Was this translation helpful? Give feedback.
Answered by
renggli
Mar 8, 2023
Replies: 1 comment
-
Use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
renggli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
indentAttribute
when pretty-printing, see toXmlString.