Validate XML from the Command Prompt
In XMLBlueprint you can validate XML from the Command Prompt, depending on your Windows' version.
Windows 11
|
1. | Open a Command Prompt:Win+X > Command Prompt |
2. | Change the directory to "Scripts":cd C:\Program Files\XMLBlueprint 21\Scripts |
3. | Run the Validate batch:Validate {XML File}XML File -- Path or URL of the XML fileorRun the ValidateAgainstSchema batch:ValidateAgainstSchema {XML File} {Schema File}XML File -- Path or URL of the XML fileSchema File -- Path or URL of the Schema file |
Windows 10
|
1. | Open a Command Prompt:Win+X > Command Prompt |
2. | Change the directory to "Scripts":cd C:\Program Files\XMLBlueprint 21\Scripts |
3. | Run the Validate batch:Validate {XML File}XML File -- Path or URL of the XML fileorRun the ValidateAgainstSchema batch:ValidateAgainstSchema {XML File} {Schema File}XML File -- Path or URL of the XML fileSchema File -- Path or URL of the Schema file |
Validating XML Documents automatically on a regular basis
To validate on a regular basis, you can use Windows' Task Scheduler.
See Also