Xmllint Windows |link| -

xmllint --xpath "//item/name" inventory.xml > output.txt

Using a modern package manager is the fastest way to get xmllint up and running without manually editing paths. Open PowerShell as Administrator and run: powershell choco install xsltproc Use code with caution. xmllint windows

To save the result to a file:

xmllint --noblanks document.xml --output minified.xml xmllint --xpath "//item/name" inventory

<settings> <database host="localhost" port="3306"/> </settings> xmllint --xpath "//item/name" inventory.xml &gt

If you are a developer, you likely already have "Git for Windows" installed. It includes a MinGW environment that bundles xmllint .