xmllint --noblanks input.xml > output.xml
Click "Next" and allow the installer to resolve dependencies. After installation, add Cygwin’s bin directory to your Windows PATH:
| Issue | Solution |
|-------|----------|
| 'xmllint' is not recognized | PATH not set correctly. Restart Command Prompt after setting PATH. |
| Missing libiconv-2.dll | Use MSYS2/Cygwin instead of standalone binary, or copy the DLL from the dependency folder. |
| xmllint: command not found | You’re still in PowerShell with restricted execution? Use .\xmllint.exe or switch to CMD. | How To Install Xmllint Windows