Encapsulating Filters
JXML’s MDSAX provides an overall architecture for encapsulating SAX processors as well as a set of prebuilt filters that can be applied to particular situations.
(MDServlet provides support for using this in server-side document processing.)
Free download at http://www.jxml.com