xmlif is a tool that interprets certain processing instructions in XML documents to support conditional emission of specified sections of the document. It is intended to be used as a stage in an XML toolchain. Note: if you have Tim Waugh's xmlto(1) installed, you already have xmlif.

COPYINGproject license
xmlif-1.3.tar.gzgzipped source tarball
READMEroadmap file
xmlif.htmlHTML rendering of xmlif.1

There is a Freshmeat xmlif page.