package old; import static scriptbuilder.structures.XMLBuilder.prettyPrintXML; public class PrettyPrintDemo { public static void main(String[] args) { String xmlString = "00:00:00abc"; //String xmlString = "00:00:45Ice Cream SB 55 @ WARNER AVEACCIDENT AHEADAT 405 OVERPASS"; System.out.println("Input XML : \n" + xmlString); // Print the masked XML System.out.println("\nXML after formatting : \n" + prettyPrintXML(xmlString)); } }