Computer Tips - Linux: How can I check the syntax of an XML file?

Date: 2010may12 OS: Linux Q. Linux: How can I check the syntax of an XML file? A. Use the xmllint command. Like this:
xmllint --noout <your-file.xml>
The "--noout" option requests no output if everything is OK. This command is in the libxml2 package in RedHat/Fedora/CentOS I learned about this command at my local LUG last night.