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
It is more convenient to see the printed XML document as the string with different indents for every level of the nodes hierarchy.
So we can get (maybe xml.toPrettyString()):
The text was updated successfully, but these errors were encountered:
mstarodubtsev
changed the title
Print XML string with increasing indents for nodes of different levels
Format XML string with different indents for nodes of different levels
Sep 14, 2016
It is more convenient to see the printed XML document as the string with different indents for every level of the nodes hierarchy.
So we can get (maybe xml.toPrettyString()):
Instead of (now xml.toString(), with default javax.xml.transform.TransformerFactory):
The text was updated successfully, but these errors were encountered: