x2js icon indicating copy to clipboard operation
x2js copied to clipboard

Pretty print XML produced with x2js

Open maximumspatium opened this issue 7 years ago • 2 comments

I'm using x2js.json2xml_str() to generate XML files from JSON. This call outputs an unindented string that is unreadably by humans. It would be great to be able to pretty print resulted XMLs. I've briefly looked into the code of x2js but couldn't find anything helpful. Is pretty printing currently supported?

maximumspatium avatar Jun 18 '17 21:06 maximumspatium

+1

FranclisJunior avatar Dec 01 '17 12:12 FranclisJunior

+1

bobharley avatar Mar 07 '18 07:03 bobharley