The first, and simplest, is mod_xslt. This is a very simple module that uses Sablotron for XSLT processing. How it works is by first breaking down the request at the file extension, so if you request foo.html it breaks it down into "foo" and "html". Then it looks for "foo.xml" in the same directory. It reads foo.xml for the doctype (basically looking for the name of the top level element). Say the top level element is <article>, then it goes and processes foo.xml with the stylesheet article_html.xsl. Notice that you can have different extensions actually requesting the same file processed in different ways.
That however is limiting, and doesn't scale too well (both in terms of site development and performance).
Your other option is AxKit. This is an Apache module that is built using mod_perl to make it easier to build, and provide a built in perl interpreter for scripting (AxKit is more than just a simple transformation module, its a full app server framework based around XML). AxKit provides more than just XSLT, it does XSP (eXtensible Server Pages, a technology in co-development with the Cocoon project), and some Perl based templating languages such as XPathScript and Template Toolkit. It supports some aggressive caching, which makes it run at about 60-80% of a raw Apache installation, and it supports automatic GZipping of output (for capable browsers).
There's also Cocoon, but you asked about Apache modules, which cocoon really isn't (unless you count connecting to a servlet engine with mod_jserv as an apache module).
The first, and simplest, is mod_xslt. This is a very simple module that uses Sablotron for XSLT processing. How it works is by first breaking down the request at the file extension, so if you request foo.html it breaks it down into "foo" and "html". Then it looks for "foo.xml" in the same directory. It reads foo.xml for the doctype (basically looking for the name of the top level element). Say the top level element is <article>, then it goes and processes foo.xml with the stylesheet article_html.xsl. Notice that you can have different extensions actually requesting the same file processed in different ways.
That however is limiting, and doesn't scale too well (both in terms of site development and performance).
Your other option is AxKit. This is an Apache module that is built using mod_perl to make it easier to build, and provide a built in perl interpreter for scripting (AxKit is more than just a simple transformation module, its a full app server framework based around XML). AxKit provides more than just XSLT, it does XSP (eXtensible Server Pages, a technology in co-development with the Cocoon project), and some Perl based templating languages such as XPathScript and Template Toolkit. It supports some aggressive caching, which makes it run at about 60-80% of a raw Apache installation, and it supports automatic GZipping of output (for capable browsers).
There's also Cocoon, but you asked about Apache modules, which cocoon really isn't (unless you count connecting to a servlet engine with mod_jserv as an apache module).