I try to find way to parse xml file using xmllint libxml2 with an external dtd file.
It's works with this :
xmllint --dtdvalid radar.dtd radar.xml --output radargood.xml
But this command doesn't do what i want.
--ouput is the result of parsing, i understand that.
Whatever the validity of xml, the ouput will be exactly the same.
How can i have a valide xml ouput by using dtd file of an invalid xml file ?
Thanks you a lot.