You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.
I use your lib for parsing XML and writing JSON into XML and it's very cool and easy to use :)
But the xml generated is on one line, and I find it pretty hard to read.
So I modified your code on my computer to generate the xml with line breaks and indent.
Does this feature interests you, in which case i create a PR ?
The text was updated successfully, but these errors were encountered:
Sorry for the late response. I don't have access anymore at the code I've changed...
If I remember, you have to modify the functions openTag and closeTag in xml2json.js to add the line breaks (\n) and the tabs (\t)
add somes checks to control the depth and it's done
Hi,
I use your lib for parsing XML and writing JSON into XML and it's very cool and easy to use :)
But the xml generated is on one line, and I find it pretty hard to read.
So I modified your code on my computer to generate the xml with line breaks and indent.
Does this feature interests you, in which case i create a PR ?
The text was updated successfully, but these errors were encountered: