1 2 3
#!/bin/sh # Validate XML document against DTD ./xmlstarlet val --dtd dtd/table.dtd xml/table.xml >/dev/null 2>&1; echo $?