xmllint fileName - checks if the xml defined is right..
Is there any command to indent xml from terminal?
xmllint fileName - checks if the xml defined is right..
Is there any command to indent xml from terminal?
xmllint does have a --format option:
--format
       Reformat and reindent the output. The XMLLINT_INDENT environment
       variable controls the indentation. The default value is two spaces
       " ").