cxj/lintxml lintxml is a simple PHP command-line linter for checking XML syntax and entities for errors. lintxml uses the libxml PHP extension for all reading and validation of XML files and strings.