Xmllint Windows -
xmllint --dtdvalid schema.dtd document.xml
For Windows users who cannot install third-party tools, PowerShell has built-in XML capabilities: xmllint windows
Because xmllint is not built into the Windows operating system, you must choose one of the following installation tracks: Option 1: Fast Setup via Package Managers xmllint --dtdvalid schema