MCPcopy Create free account
hub / github.com/TrsstProject/trsst / formatXML

Method formatXML

src/main/java/com/trsst/Common.java:699–706  ·  view source on GitHub ↗
(String xml)

Source from the content-addressed store, hash-verified

697 }
698
699 public static String formatXML(String xml) {
700 Tidy tidy = new Tidy();
701 tidy.setXmlTags(true);
702 tidy.setXmlOut(true);
703 StringWriter writer = new StringWriter();
704 tidy.parse(new StringReader(xml), writer);
705 return writer.toString();
706 }
707
708 public static Attributes getManifestAttributes() {
709 Attributes result = null;

Callers 2

doPullMethod · 0.95
doPostMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected