{"category":"data","endpoint":"https://setget.net/v1/tools/xml-format","examples":[{"input":{"text":"<a><b>1</b><c x=\"2\"/></a>"},"output":{"text":"<a>\n  <b>1</b>\n  <c x=\"2\" />\n</a>"}}],"input_schema":{"additionalProperties":false,"properties":{"indent":{"default":2,"description":"Spaces per level. 0 removes whitespace between tags.","maximum":8,"minimum":0,"type":"integer"},"text":{"description":"The XML to format.","examples":["<a><b>1</b><c x=\"2\"/></a>"],"type":"string"}},"required":["text"],"type":"object"},"keywords":["xml","pretty print","beautify","indent","format","minify xml"],"related":["xml-to-json","html-format"],"slug":"xml-format","summary":"Pretty-print XML with consistent indentation, or collapse it to a single line.","tier":"inline","title":"XML formatter","url":"https://setget.net/tools/xml-format"}
