Browse - computer tips - linux check syntax of an xml fileDate: 2010may12 OS: Linux A. How can I check the syntax of an XML file? Q. Use the xmllint command. Like this: xmllint --noout <your-file.xml> The "--noout" option request no output if everything is OK. This command is in the libxml2 package in RedHat/Fedora. I learned about this command at my local LUG last night.
Add a commentSign in to add a comment | Advertisements:
|