Return to Extreme Code Software | XML Cleaner weblog

XML Cleaner - Filter and Validate XML Files

XML Cleaner is a command line utility to filter and validate XML files.

XML Cleaner is written in Ada 9X and so it is rather fast.

Download: XML Cleaner 0.2.2beta source (Licensed under GPL); you need also XMLAda with patches to compile it.

Features:

I have written this program because xmllint from libxml2 does not support removal of unused namespaces (it only removed duplicate namespace declarations, what is not enough).

It is particularly important because many programs generate XML files with superfluous namespaces, and these files do not validate against DTDs such as XHTML DTD.

XML Cleaner is developed to become xmllint replacement.

Please send patches.

The immediate purpose why XML Cleaner was developed was to process math articles in XML format for www.mathematics21.org Web site.

Links